SPECS: libgpod.spec - 0.2.0, run glib-getextize, full ac/am rebuil...

freetz freetz at pld-linux.org
Mon Nov 28 19:11:20 CET 2005


Author: freetz                       Date: Mon Nov 28 18:11:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.2.0, run glib-getextize, full ac/am rebuild, dropped mkinstalldir hacks

---- Files affected:
SPECS:
   libgpod.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/libgpod.spec
diff -u SPECS/libgpod.spec:1.6 SPECS/libgpod.spec:1.7
--- SPECS/libgpod.spec:1.6	Mon Nov  7 21:07:09 2005
+++ SPECS/libgpod.spec	Mon Nov 28 19:11:15 2005
@@ -2,27 +2,23 @@
 Summary:	Shared library to access the contents of an iPod
 Summary(pl):	Biblioteka współdzielona do dostępu do zawartości iPodów
 Name:		libgpod
-Version:	0.1.8
-%define	_snap	20051106
-Release:	0.%{_snap}.2
+Version:	0.2.0
+Release:	1
 Epoch:		0
 License:	GPL v2
 Group:		Libraries
-#Source0:	http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
-Source0:	%{name}-%{_snap}.tar.bz2
-# Source0-md5:	7f8237149051cb3a6d0c9f21007b2691
+Source0:	http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
+# Source0-md5:	9ea91a96805d7e5803397bdd18aa6a80
 Patch0:		%{name}-align.patch
 URL:		http://www.gtkpod.org/libgpod.html
-BuildRequires:	gettext-devel
-BuildRequires:	glib2-devel
-BuildRequires:	intltool >= 0.33
-BuildRequires:	pkgconfig
-%if 0%{?_snap:1}
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	intltool
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel >= 1:2.4.0
+BuildRequires:	hal-devel >= 0.5.2
+BuildRequires:	intltool >= 0.33
 BuildRequires:	libtool
-%endif
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,6 +37,7 @@
 Summary(pl):	Pliki nagłówkowe biblioteki libgpod
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	hal-devel >= 0.5.2
 
 %description devel
 This is the package containing the header files for libgpod library.
@@ -61,28 +58,26 @@
 Statyczna biblioteka libgpod.
 
 %prep
-%setup -q %{?_snap:-n %{name}}
+%setup -q
 %patch0 -p1
 
 %build
-%if 0%{?_snap:1}
 %{__intltoolize}
+%{__glib_gettextize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%endif
-%configure
+%configure \
+	--with-eject-command="/usr/bin/eject" \
+	--with-unmount-command="/bin/umount"
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-# MKINSTALLDIRS is problem with combination of gettext-0.14.4 and automake-1.8
-# See TROUBLESHOOTING for more details.
 %{__make} install \
-	MKINSTALLDIRS="install -d" \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --all-name
@@ -115,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/11/28 18:11:15  freetz
+- 0.2.0, run glib-getextize, full ac/am rebuild, dropped mkinstalldir hacks
+
 Revision 1.6  2005/11/07 20:07:09  qboosh
 - added align patch (build hack, not a real fix - it would require library usage
   changes; expect crashes on sparc and unaligned traps on alpha when headers
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgpod.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list