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: python-mutagen >= 1.11
25 BuildRequires: rpm-pythonprov
26 BuildRequires: swig-python >= 1.3.24
27 # for noinst test only
28 #BuildRequires: taglib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 libgpod is a library meant to abstract access to an iPod content. It
33 provides an easy to use API to retrieve the list of files and playlist
34 stored on an iPod, to modify them and to save them back to the iPod.
36 %description -l pl.UTF-8
37 libgpod to biblioteka mająca na celu wyabstrahowanie dostępu do
38 zawartości iPodów. Udostępnia łatwe w użyciu API do pobierania listy
39 plików i playlist zapisanych na iPodzie, modyfikowania ich i
40 zapisywania z powrotem na iPoda.
43 Summary: Header files for libgpod library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgpod
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: dbus-glib-devel >= 0.71
48 Requires: gtk+2-devel >= 2:2.10.1
49 Requires: hal-devel >= 0.5.7.1
52 This is the package containing the header files for libgpod library.
54 %description devel -l pl.UTF-8
55 Ten pakiet zawiera pliki nagłówkowe biblioteki libgpod.
58 Summary: Static libgpod library
59 Summary(pl.UTF-8): Statyczna biblioteka libgpod
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 Static libgpod library.
66 %description static -l pl.UTF-8
67 Statyczna biblioteka libgpod.
69 %package -n python-gpod
70 Summary: Libraries for libgpod access from Python
71 Summary(pl.UTF-8): Biblioteki Pythona umożliwiające korzystanie z libgpod
72 Group: Development/Languages/Python
73 Requires: %{name} = %{version}-%{release}
74 Requires: python-eyeD3 >= 0.6.6
75 %pyrequires_eq python-libs
77 %description -n python-gpod
78 This is the libgpod Python support package.
80 %description -n python-gpod -l pl.UTF-8
81 Biblioteki umożliwiające korzystanie z libgpod z poziomu
97 --with-html-dir=%{_gtkdocdir} \
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
109 %find_lang %{name} --all-name
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog README
120 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libgpod.so
125 %{_libdir}/libgpod.la
126 %{_pkgconfigdir}/libgpod-1.0.pc
127 %{_includedir}/gpod-1.0
128 %{_gtkdocdir}/libgpod
131 %defattr(644,root,root,755)
134 %files -n python-gpod
135 %defattr(644,root,root,755)
136 %dir %{py_sitedir}/gpod
137 %{py_sitedir}/gpod/*.py[co]
138 %attr(755,root,root) %{py_sitedir}/gpod/_gpod.so