]> git.pld-linux.org Git - packages/libgpod.git/commitdiff
- todays snap (20051106); now builds
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 6 Nov 2005 12:04:50 +0000 (12:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libgpod.spec -> 1.2

libgpod.spec

index 6d4be057b988e3915781d9a937082d8cb070d27d..f26c7989db881e3091313b334e730547394cb9b3 100644 (file)
@@ -1,17 +1,25 @@
 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
@@ -19,10 +27,35 @@ libgpod is a library meant to abstract access to an iPod content. It
 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}
 
@@ -30,6 +63,7 @@ stored on an iPod, to modify them and to save them back to the iPod.
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+       MKINSTALLDIRS="install -d" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --all-name
@@ -37,6 +71,21 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.027571 seconds and 4 git commands to generate.