1 Summary: Shared library to access the contents of an iPod
2 Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do zawartości iPodów
8 Source0: http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
9 # Source0-md5: e4f8d2a7be9512268267bfbe712fe9be
10 URL: http://www.gtkpod.org/libgpod.html
11 BuildRequires: autoconf >= 2.52
12 BuildRequires: automake
13 BuildRequires: dbus-glib-devel >= 0.71
14 BuildRequires: gettext-devel
15 BuildRequires: gtk+2-devel >= 2:2.10.1
16 BuildRequires: gtk-doc >= 1.0
17 BuildRequires: hal-devel < 0.6
18 BuildRequires: hal-devel >= 0.5.7.1
19 BuildRequires: intltool >= 0.35
20 BuildRequires: libtool
21 BuildRequires: pkgconfig
22 BuildRequires: python-devel >= 2.1.1
23 BuildRequires: python-eyeD3 >= 0.6.6
24 BuildRequires: rpm-pythonprov
25 BuildRequires: swig-python >= 1.3.24
26 # for noinst test only
27 #BuildRequires: taglib-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 libgpod is a library meant to abstract access to an iPod content. It
32 provides an easy to use API to retrieve the list of files and playlist
33 stored on an iPod, to modify them and to save them back to the iPod.
35 %description -l pl.UTF-8
36 libgpod to biblioteka mająca na celu wyabstrahowanie dostępu do
37 zawartości iPodów. Udostępnia łatwe w użyciu API do pobierania listy
38 plików i playlist zapisanych na iPodzie, modyfikowania ich i
39 zapisywania z powrotem na iPoda.
42 Summary: Header files for libgpod library
43 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgpod
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: dbus-glib-devel >= 0.71
47 Requires: gtk+2-devel >= 2:2.10.1
48 Requires: hal-devel >= 0.5.7.1
51 This is the package containing the header files for libgpod library.
53 %description devel -l pl.UTF-8
54 Ten pakiet zawiera pliki nagłówkowe biblioteki libgpod.
57 Summary: Static libgpod library
58 Summary(pl.UTF-8): Statyczna biblioteka libgpod
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static libgpod library.
65 %description static -l pl.UTF-8
66 Statyczna biblioteka libgpod.
68 %package -n python-gpod
69 Summary: Libraries for libgpod access from Python
70 Summary(pl.UTF-8): Biblioteki Pythona umożliwiające korzystanie z libgpod
71 Group: Development/Languages/Python
72 Requires: %{name} = %{version}-%{release}
73 Requires: python-eyeD3 >= 0.6.6
74 %pyrequires_eq python-libs
76 %description -n python-gpod
77 This is the libgpod Python support package.
79 %description -n python-gpod -l pl.UTF-8
80 Biblioteki umożliwiające korzystanie z libgpod z poziomu
96 --with-html-dir=%{_gtkdocdir} \
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
108 %find_lang %{name} --all-name
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog README
119 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libgpod.so
124 %{_libdir}/libgpod.la
125 %{_pkgconfigdir}/libgpod-1.0.pc
126 %{_includedir}/gpod-1.0
127 %{_gtkdocdir}/libgpod
130 %defattr(644,root,root,755)
133 %files -n python-gpod
134 %defattr(644,root,root,755)
135 %dir %{py_sitedir}/gpod
136 %{py_sitedir}/gpod/*.py[co]
137 %attr(755,root,root) %{py_sitedir}/gpod/_gpod.so