packages: gtkpod/gtkpod.spec - package rest of the files, ldconfig

glen glen at pld-linux.org
Mon Aug 15 20:00:44 CEST 2011


Author: glen                         Date: Mon Aug 15 18:00:44 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package rest of the files, ldconfig

---- Files affected:
packages/gtkpod:
   gtkpod.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: packages/gtkpod/gtkpod.spec
diff -u packages/gtkpod/gtkpod.spec:1.35 packages/gtkpod/gtkpod.spec:1.36
--- packages/gtkpod/gtkpod.spec:1.35	Mon Aug 15 17:18:39 2011
+++ packages/gtkpod/gtkpod.spec	Mon Aug 15 20:00:39 2011
@@ -1,9 +1,11 @@
 # $Revision$, $Date$
+# TODO
+# - Check for MP4 Headers: mp4v2/mp4v2.h: mp4v2-devel
 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.1.0
-Release:	1
+Release:	2
 License:	GPL/LGPL
 Group:		X11/Applications/Multimedia
 Source0:	http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
@@ -29,8 +31,10 @@
 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(post,postun):	/sbin/ldconfig
+# M4A -> MP3 conversion support
 Requires:	mount
+Suggests:	faad2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,6 +52,7 @@
 
 %build
 %configure \
+	FAAD=yes \
 	--disable-static
 %{__make}
 
@@ -60,6 +65,7 @@
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gtkpod/*.la
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gtkpod/doc
 
 # no -devel
 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}
@@ -72,12 +78,13 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/ldconfig
 %update_icon_cache hicolor
 %glib_compile_schemas
 
 %postun
+/sbin/ldconfig
 %update_icon_cache hicolor
-%postun
 if [ "$1" = "0" ]; then
 	%glib_compile_schemas
 fi
@@ -90,6 +97,10 @@
 %ghost %{_libdir}/libgtkpod.so.1
 %{_mandir}/man1/%{name}.1*
 %dir %{_datadir}/%{name}
+%{_datadir}/gtkpod/data
+%{_datadir}/gtkpod/icons
+%dir %{_datadir}/gtkpod/scripts/convert-2m4a.sh
+%attr(755,root,root) %{_datadir}/gtkpod/scripts/*
 %{_datadir}/glib-2.0/schemas/org.gtkpod.gschema.xml
 %{_desktopdir}/%{name}.desktop
 %{_iconsdir}/hicolor/*/apps/%{name}.png
@@ -103,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2011/08/15 18:00:39  glen
+- package rest of the files, ldconfig
+
 Revision 1.35  2011/08/15 15:18:39  glen
 - up to 2.1.0, gtk3 version
 
================================================================

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



More information about the pld-cvs-commit mailing list