packages: gtkpod/desktop.patch, gtkpod/gtkpod.spec - up to 2.1.0, gtk3 version

glen glen at pld-linux.org
Mon Aug 15 17:18:44 CEST 2011


Author: glen                         Date: Mon Aug 15 15:18:44 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.1.0, gtk3 version

---- Files affected:
packages/gtkpod:
   desktop.patch (1.1 -> 1.2) , gtkpod.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: packages/gtkpod/desktop.patch
diff -u packages/gtkpod/desktop.patch:1.1 packages/gtkpod/desktop.patch:1.2
--- packages/gtkpod/desktop.patch:1.1	Tue Dec 28 00:23:23 2010
+++ packages/gtkpod/desktop.patch	Mon Aug 15 17:18:39 2011
@@ -1,11 +1,12 @@
 the pl comment should go to .po file really
 
---- gtkpod-1.0.0/data/gtkpod.desktop.in~	2010-08-01 17:02:42.000000000 +0300
-+++ gtkpod-1.0.0/data/gtkpod.desktop.in	2010-12-28 01:17:41.542790127 +0200
-@@ -2,8 +2,9 @@
- _Name=gtkpod iPod Manager
+--- gtkpod-2.1.0/data/gtkpod.desktop.in~	2011-08-06 19:03:49.000000000 +0300
++++ gtkpod-2.1.0/data/gtkpod.desktop.in	2011-08-15 16:58:56.946994824 +0300
+@@ -2,9 +2,11 @@
+ _Name=gtkpod
  _GenericName=iPod Manager
  _Comment=Manage music and video on an Apple iPod
++# TODO: use add po/pl.po create pl.po-update.patch or sth, and submit it upstream
 +Comment[pl]=Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
  Exec=gtkpod
  Icon=gtkpod
@@ -13,3 +14,4 @@
  Type=Application
 -Categories=GTK;AudioVideo;
 +Categories=GTK;Utility;Audio;
+ X-GNOME-FullName=gtkpod iPod Manager

================================================================
Index: packages/gtkpod/gtkpod.spec
diff -u packages/gtkpod/gtkpod.spec:1.34 packages/gtkpod/gtkpod.spec:1.35
--- packages/gtkpod/gtkpod.spec:1.34	Mon Aug 15 15:57:14 2011
+++ packages/gtkpod/gtkpod.spec	Mon Aug 15 17:18:39 2011
@@ -2,22 +2,26 @@
 Summary:	Graphical song management program for Apple's iPod
 Summary(pl.UTF-8):	Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
 Name:		gtkpod
-Version:	2.0.2
+Version:	2.1.0
 Release:	1
 License:	GPL/LGPL
 Group:		X11/Applications/Multimedia
 Source0:	http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
-# Source0-md5:	a24d4b882fa1e71c486ee90d87c7ce45
+# Source0-md5:	8e01f7cf2db1a421140eab561aee26d7
 Patch1:		desktop.patch
 URL:		http://www.gtkpod.org/
 BuildRequires:	flex
+BuildRequires:	gdl-devel >= 3.0.0
 BuildRequires:	gettext-devel >= 0.11.0
-BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	glib2-devel >= 1:2.28.5
+BuildRequires:	gtk+3-devel >= 3.0.11
 BuildRequires:	intltool
+BuildRequires:	libanjuta-devel >= 1:3.0
 BuildRequires:	libglade2-devel >= 1:2.4.0
 BuildRequires:	libgnomecanvas-devel
 BuildRequires:	libgpod-devel >= 0.4.0
 BuildRequires:	libid3tag-devel >= 0.15
+BuildRequires:	libxml2-devel >= 2.7.7
 BuildRequires:	perl-XML-Parser
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-pythonprov
@@ -25,6 +29,7 @@
 BuildRequires:	sed >= 4.0
 Requires(post,postun):	gtk-update-icon-cache
 Requires(post,postun):	hicolor-icon-theme
+Requires(post,postun):	glib2 >= 1:2.26.0
 Requires:	mount
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,10 +44,11 @@
 %prep
 %setup -q
 %patch1 -p1
-sed -ie 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
+%{__sed} -i -e 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
 
 %build
-%configure
+%configure \
+	--disable-static
 %{__make}
 
 %install
@@ -50,7 +56,15 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gtkpod/*.la
+
+# no -devel
+%{__rm} -r $RPM_BUILD_ROOT%{_includedir}
+%{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkpod.so
 
 %find_lang %{name} --all-name
 
@@ -59,18 +73,29 @@
 
 %post
 %update_icon_cache hicolor
+%glib_compile_schemas
 
 %postun
 %update_icon_cache hicolor
+%postun
+if [ "$1" = "0" ]; then
+	%glib_compile_schemas
+fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODOandBUGS.txt
 %attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_libdir}/libgtkpod.so.*.*.*
+%ghost %{_libdir}/libgtkpod.so.1
 %{_mandir}/man1/%{name}.1*
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/glib-2.0/schemas/org.gtkpod.gschema.xml
 %{_desktopdir}/%{name}.desktop
 %{_iconsdir}/hicolor/*/apps/%{name}.png
+%dir %{_libdir}/gtkpod
+%attr(755,root,root) %{_libdir}/gtkpod/lib*.so
+%{_libdir}/gtkpod/*.plugin
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -78,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2011/08/15 15:18:39  glen
+- up to 2.1.0, gtk3 version
+
 Revision 1.34  2011/08/15 13:57:14  glen
 - up to 2.0.2, this is gtk2 version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtkpod/desktop.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtkpod/gtkpod.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list