rpms/translation-filter/F-11 sources, 1.2, 1.3 translation-filter.spec, 1.3, 1.4
Kushal Das
kushal at fedoraproject.org
Thu Aug 13 09:12:50 UTC 2009
Author: kushal
Update of /cvs/extras/rpms/translation-filter/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18568
Modified Files:
sources translation-filter.spec
Log Message:
new release of tf
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/translation-filter/F-11/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 09:12:50 -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/F-11/translation-filter.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- translation-filter.spec 25 Feb 2009 21:47:47 -0000 1.3
+++ translation-filter.spec 13 Aug 2009 09:12:50 -0000 1.4
@@ -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: 4%{?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,56 @@ 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
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the scm-commits
mailing list