SPECS: libgpod.spec - todays snap (20051106); now builds

glen glen at pld-linux.org
Sun Nov 6 13:04:56 CET 2005


Author: glen                         Date: Sun Nov  6 12:04:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- todays snap (20051106); now builds

---- Files affected:
SPECS:
   libgpod.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libgpod.spec
diff -u SPECS/libgpod.spec:1.1 SPECS/libgpod.spec:1.2
--- SPECS/libgpod.spec:1.1	Sun Nov  6 12:43:05 2005
+++ SPECS/libgpod.spec	Sun Nov  6 13:04:50 2005
@@ -1,18 +1,26 @@
 # $Revision$, $Date$
 Summary:	Shared library to access the contents of an iPod
 Name:		libgpod
-Version:	0.1.6
-Release:	0.1
+Version:	0.1.8
+%define	_snap	20051106
+Release:	0.%{_snap}.1
 Epoch:		0
 License:	GPL v2
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
-# Source0-md5:	5d74f888921330bae4f355924e4b4874
+#Source0:	http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
+Source0:	%{name}-%{_snap}.tar.bz2
+# Source0-md5:	7f8237149051cb3a6d0c9f21007b2691
 URL:		http://www.gtkpod.org/libgpod.html
 BuildRequires:	gettext-devel
 BuildRequires:	glib2-devel
 BuildRequires:	intltool >= 0.21
 BuildRequires:	pkgconfig
+%if 0%{?_snap:1}
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	intltool
+BuildRequires:	libtool
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,10 +28,35 @@
 provides an easy to use API to retrieve the list of files and playlist
 stored on an iPod, to modify them and to save them back to the iPod.
 
+%package devel
+Summary:	Development libraries and header files for libgpod library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the development libraries and header
+files for libgpod
+
+%package static
+Summary:	Static libgpod library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libgpod library.
+
 %prep
-%setup -q
+%setup -q %{?_snap:-n %{name}}
 
 %build
+%if 0%{?_snap:1}
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%endif
 %configure
 %{__make}
 
@@ -31,6 +64,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+	MKINSTALLDIRS="install -d" \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --all-name
@@ -38,9 +72,24 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
+%{_includedir}/gpod-1.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libgpod.la
+%attr(755,root,root) %{_libdir}/libgpod.so
+%{_pkgconfigdir}/libgpod-1.0.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgpod.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -48,7 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/11/06 12:04:50  glen
+- todays snap (20051106); now builds
+
 Revision 1.1  2005/11/06 11:43:05  glen
 - new, amarok-svn and gtkpod 0.96.cvs use this
 - build fails, missing db-itunes-parser.h in sources
-
================================================================

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




More information about the pld-cvs-commit mailing list