rpms/translation-filter/devel .cvsignore, 1.2, 1.3 import.log, 1.1, 1.2 sources, 1.2, 1.3 translation-filter.spec, 1.4, 1.5

Kushal Das kushal at fedoraproject.org
Thu Aug 13 08:00:09 UTC 2009


Author: kushal

Update of /cvs/extras/rpms/translation-filter/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2650/devel

Modified Files:
	.cvsignore import.log sources translation-filter.spec 
Log Message:
New release



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/translation-filter/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	12 Aug 2008 12:31:04 -0000	1.2
+++ .cvsignore	13 Aug 2009 08:00:03 -0000	1.3
@@ -1 +1 @@
-translation-filter-0.0.2.tar.gz
+translation-filter-1.0.tar.gz


Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/translation-filter/devel/import.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- import.log	12 Aug 2008 12:31:04 -0000	1.1
+++ import.log	13 Aug 2009 08:00:03 -0000	1.2
@@ -1 +1,2 @@
 translation-filter-0_0_2-2_fc9:HEAD:translation-filter-0.0.2-2.fc9.src.rpm:1218544133
+translation-filter-1_0-1_fc11:HEAD:translation-filter-1.0-1.fc11.src.rpm:1250150490


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/translation-filter/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	12 Aug 2008 12:31:04 -0000	1.2
+++ sources	13 Aug 2009 08:00:03 -0000	1.3
@@ -1 +1 @@
-ca6b4bf23f0745e6717905b3d62b32b0  translation-filter-0.0.2.tar.gz
+9101f23ddbea649c8a04e53b7101a300  translation-filter-1.0.tar.gz


Index: translation-filter.spec
===================================================================
RCS file: /cvs/extras/rpms/translation-filter/devel/translation-filter.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- translation-filter.spec	27 Jul 2009 06:14:42 -0000	1.4
+++ translation-filter.spec	13 Aug 2009 08:00:03 -0000	1.5
@@ -1,23 +1,38 @@
 # sitelib for noarch packages, sitearch for others (remove the unneeded one)
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           translation-filter
-Version:        0.0.2
-Release:        5%{?dist}
+Version:        1.0
+Release:        1%{?dist}
 Summary:        A l10n file filter
 
 Group:          Development/Languages
 License:        GPLv2
-URL:            http://kushaldas.in
-Source0:        http://kushal.fedorapeople.org/%{name}-%{version}.tar.gz
+URL:            http://fedorahosted.org/translation-filter
+Source0:        http://fedorahosted.org/releases/t/r/translation-filter/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  python-devel, python-setuptools, PyQt4-devel, desktop-file-utils
-Requires:       PyQt4
+BuildRequires:  python-devel, python-setuptools, desktop-file-utils
+Requires:       translate-toolkit, pygtk2-libglade, pygtk2
+
+%if 0%{?fedora}
+BuildRequires:  PyQt4-devel
+%endif
 
 %description
 A l10n file filter to check translations
+%if 0%{?fedora}
+%package        kde
+Summary:        The translation-filter KDE based UI
+Group:          Development/Languages
+Requires:       %{name} = %{version}-%{release}
+Requires:       PyQt4
+
+%description    kde
+KDE UI for translation-filter
+%endif
+
 
 %prep
 %setup -q
@@ -35,20 +50,53 @@ desktop-file-install --vendor="fedora"  
 %{buildroot}/%{_datadir}/applications/translation-filter.desktop
 rm -rf %{buildroot}/%{_datadir}/applications/translation-filter.desktop
 
- 
+desktop-file-install --vendor="fedora"                    \
+--dir=${RPM_BUILD_ROOT}%{_datadir}/applications           \
+%{buildroot}/%{_datadir}/applications/translation-filter-kde.desktop
+rm -rf %{buildroot}/%{_datadir}/applications/translation-filter-kde.desktop
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if 0%{?rhel}
+%exclude
+%{python_sitelib}/Translationfilter/TranslationApp.py*
+%{_bindir}/translation-filter-gui
+%{_datadir}/translationfilter/ui/*
+%{_datadir}/applications/translation-filter-kde-fedora.desktop
+%{_datadir}/applications/*-kde.desktop
+%endif
+
+
+%if 0%{?fedora}
+%files kde
+%defattr(-,root,root,-)
+%{python_sitelib}/Translationfilter/TranslationApp.py*
+%{_bindir}/translation-filter-gui
+%{_datadir}/translationfilter/ui/*
+%{_datadir}/applications/fedora-translation-filter-kde.desktop
+%endif
 
 %files
 %defattr(-,root,root,-)
-%doc docs/README docs/ChangeLog docs/COPYING 
+%doc docs/README docs/ChangeLog docs/COPYING
 # For noarch packages: sitelib
-%{python_sitelib}/*
-%{_bindir}/*
-%{_datadir}/*
+%{python_sitelib}/Translationfilter/BasicTranslation.py*
+%{python_sitelib}/Translationfilter/poparser.py*
+%{python_sitelib}/Translationfilter/__init__.py*
+%{python_sitelib}/*.egg-info
+%{_bindir}/translation-filter
+%{_bindir}/translation-filter-gnome
+%{_datadir}/translationfilter/data/*
+%{_datadir}/translationfilter/tf-gnome/*
+%{_datadir}/pixmaps/translation-filter.png
+%{_datadir}/applications/fedora-translation-filter.desktop
 
 %changelog
+* Wed Jul 29 2009 Kushal Das <kushal at fedoraproject.org> 1.0-1
+- The 1.0 release
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list