1 Summary: Shared library to access the contents of an iPod
2 Summary(pl): Biblioteka wspó³dzielona do dostêpu do zawarto¶ci iPodów
10 #Source0: http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
11 Source0: %{name}-%{_snap}.tar.bz2
12 # Source0-md5: 7f8237149051cb3a6d0c9f21007b2691
13 Patch0: %{name}-align.patch
14 URL: http://www.gtkpod.org/libgpod.html
15 BuildRequires: gettext-devel
16 BuildRequires: glib2-devel
17 BuildRequires: intltool >= 0.33
18 BuildRequires: pkgconfig
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: intltool
23 BuildRequires: libtool
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 libgpod is a library meant to abstract access to an iPod content. It
29 provides an easy to use API to retrieve the list of files and playlist
30 stored on an iPod, to modify them and to save them back to the iPod.
33 libgpod to biblioteka maj±ca na celu wyabstrahowanie dostêpu do
34 zawarto¶ci iPodów. Udostêpnia ³atwe w u¿yciu API do pobierania listy
35 plików i playlist zapisanych na iPodzie, modyfikowania ich i
36 zapisywania z powrotem na iPoda.
39 Summary: Header files for libgpod library
40 Summary(pl): Pliki nag³ówkowe biblioteki libgpod
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
45 This is the package containing the header files for libgpod library.
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgpod.
51 Summary: Static libgpod library
52 Summary(pl): Statyczna biblioteka libgpod
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
57 Static libgpod library.
59 %description static -l pl
60 Statyczna biblioteka libgpod.
63 %setup -q %{?_snap:-n %{name}}
79 rm -rf $RPM_BUILD_ROOT
81 # MKINSTALLDIRS is problem with combination of gettext-0.14.4 and automake-1.8
82 # See TROUBLESHOOTING for more details.
84 MKINSTALLDIRS="install -d" \
85 DESTDIR=$RPM_BUILD_ROOT
87 %find_lang %{name} --all-name
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog README
98 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
101 %defattr(644,root,root,755)
102 %{_libdir}/libgpod.la
103 %attr(755,root,root) %{_libdir}/libgpod.so
104 %{_pkgconfigdir}/libgpod-1.0.pc
105 %{_includedir}/gpod-1.0
108 %defattr(644,root,root,755)