1 Summary: Shared library to access the contents of an iPod
9 #Source0: http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
10 Source0: %{name}-%{_snap}.tar.bz2
11 # Source0-md5: 7f8237149051cb3a6d0c9f21007b2691
12 URL: http://www.gtkpod.org/libgpod.html
13 BuildRequires: gettext-devel
14 BuildRequires: glib2-devel
15 BuildRequires: intltool >= 0.21
16 BuildRequires: pkgconfig
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: intltool
21 BuildRequires: libtool
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 libgpod is a library meant to abstract access to an iPod content. It
27 provides an easy to use API to retrieve the list of files and playlist
28 stored on an iPod, to modify them and to save them back to the iPod.
31 Summary: Development libraries and header files for libgpod library
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 This is the package containing the development libraries and header
40 Summary: Static libgpod library
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}-%{release}
45 Static libgpod library.
48 %setup -q %{?_snap:-n %{name}}
63 rm -rf $RPM_BUILD_ROOT
66 MKINSTALLDIRS="install -d" \
67 DESTDIR=$RPM_BUILD_ROOT
69 %find_lang %{name} --all-name
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog README
80 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
81 %{_includedir}/gpod-1.0
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libgpod.so
87 %{_pkgconfigdir}/libgpod-1.0.pc
90 %defattr(644,root,root,755)