rpms/deluge/devel .cvsignore, 1.46, 1.47 deluge.spec, 1.72, 1.73 sources, 1.46, 1.47
Peter Gordon
pgordon at fedoraproject.org
Fri Dec 5 10:21:02 UTC 2008
- Previous message (by thread): rpms/perl-Wx-Perl-Dialog/devel .cvsignore, 1.2, 1.3 perl-Wx-Perl-Dialog.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/fuse-emulator/devel .cvsignore, 1.5, 1.6 fuse-emulator.spec, 1.9, 1.10 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pgordon
Update of /cvs/pkgs/rpms/deluge/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13060
Modified Files:
.cvsignore deluge.spec sources
Log Message:
Update to 1.0.6; mark translation files with %lang as they should be; Add CC-BY-SA license for Tango icons.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/deluge/devel/.cvsignore,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- .cvsignore 14 Nov 2008 05:35:38 -0000 1.46
+++ .cvsignore 5 Dec 2008 10:20:31 -0000 1.47
@@ -1 +1 @@
-deluge-1.0.5.tar.bz2
+deluge-1.0.6.tar.bz2
Index: deluge.spec
===================================================================
RCS file: /cvs/pkgs/rpms/deluge/devel/deluge.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- deluge.spec 30 Nov 2008 00:53:20 -0000 1.72
+++ deluge.spec 5 Dec 2008 10:20:32 -0000 1.73
@@ -2,11 +2,13 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: deluge
-Version: 1.0.5
-Release: 3%{?dist}
+Version: 1.0.6
+Release: 1%{?dist}
Summary: A GTK+ BitTorrent client with support for DHT, UPnP, and PEX
Group: Applications/Internet
-License: GPLv2+
+## Images in deluge/ui/webui/static/images/tango are CC-BY-SA 2.5, everything
+## else is GPLv2+.
+License: GPLv2+ and CC-BY-SA
URL: http://deluge-torrent.org/
Source0: http://download.deluge-torrent.org/source/%{version}/%{name}-%{version}.tar.bz2
@@ -78,23 +80,52 @@
--delete-original \
--remove-category=Application \
%{buildroot}%{_datadir}/applications/%{name}.desktop
+## TODO: The lang files should REEEAALLLY be in a standard place such as
+## /usr/share/locale or similar. It'd make things so much nicer for
+## the packaging. :O
+## A bit of sed magic to mark the translation files with %%lang, taken from
+## find-lang.sh (part of the rpm-build package) and tweaked somewhat. We
+## cannot (unfortunately) call find-lang directly since it's not on a
+## "$PREFIX/share/locale/"-ish directory tree.
+pushd %{buildroot}
+ find -type f -o -type l \
+ | sed '
+ s:%{buildroot}%{python_sitearch}::
+ s:^\.::
+ s:\(.*/deluge/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
+ s:^\([^%].*\)::
+ s:%lang(C) ::
+ /^$/d' \
+ > %{name}.filelist
+## We've got the .mo files now; but we need the rest of the files in those
+## dirs. We can't just glob in the %%files, as that would add duplicate
+## entries for the .mo files which we've already marked with appropriate
+## %%lang-fu.
+ find ./%{python_sitearch}/deluge -not -iname '%{name}.mo' -type f \
+ | sed 's:^\./::' >> %{name}.filelist
+ find ./%{python_sitearch}/deluge -not -iname '%{name}.mo' -type d \
+ | sed 's:^\./:%%dir :' >> %{name}.filelist
+## Now we move that list back to our sources, so that '%%files -f' can find it
+## properly.
+popd && mv %{buildroot}/%{name}.filelist .
%clean
rm -rf %{buildroot}
-%files
+%files -f %{name}.filelist
%defattr(-,root,root,-)
-%doc deluge/ui/webui/LICENSE deluge/ui/webui/TODO
-%{python_sitearch}/%{name}/
+%doc ChangeLog
%{python_sitearch}/%{name}-%{version}-py?.?.egg-info
%{_bindir}/%{name}
%{_bindir}/%{name}d
%{_datadir}/applications/fedora-%{name}.desktop
-%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/pixmaps/%{name}.*
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/scalable/apps/%{name}.svg
+%{_mandir}/man?/%{name}*
+
%post
@@ -114,6 +145,11 @@
%changelog
+* Mon Dec 01 2008 Peter Gordon <peter at thecodergeek.com> - 1.0.6-1
+- Update to new upstream release (1.0.6)
+- Adds Tango images to the WebUI data (CC-BY-SA) and some man pages.
+- Properly mark translation files with %%lang.
+
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 1.0.5-3
- Fix locations for Python 2.6
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/deluge/devel/sources,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- sources 14 Nov 2008 05:35:39 -0000 1.46
+++ sources 5 Dec 2008 10:20:32 -0000 1.47
@@ -1 +1 @@
-0b232b62d9b07e12a1443c4c5c92d800 deluge-1.0.5.tar.bz2
+b1571d0b5489c6e7c9f6f8e9e9e3bb9a deluge-1.0.6.tar.bz2
- Previous message (by thread): rpms/perl-Wx-Perl-Dialog/devel .cvsignore, 1.2, 1.3 perl-Wx-Perl-Dialog.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/fuse-emulator/devel .cvsignore, 1.5, 1.6 fuse-emulator.spec, 1.9, 1.10 sources, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list