]> git.pld-linux.org Git - packages/libgpod.git/blob - libgpod.spec
- 0.4.2
[packages/libgpod.git] / libgpod.spec
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
3 Name:           libgpod
4 Version:        0.4.2
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
9 # Source0-md5:  c3c031dc6f1f6eff422598c84f2621bd
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)
29
30 %description
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.
34
35 %description -l pl
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.
40
41 %package devel
42 Summary:        Header files for libgpod library
43 Summary(pl):    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
49
50 %description devel
51 This is the package containing the header files for libgpod library.
52
53 %description devel -l pl
54 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgpod.
55
56 %package static
57 Summary:        Static libgpod library
58 Summary(pl):    Statyczna biblioteka libgpod
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static libgpod library.
64
65 %description static -l pl
66 Statyczna biblioteka libgpod.
67
68 %package -n python-gpod
69 Summary:        Libraries for libgpod access from Python
70 Summary(pl):    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
75
76 %description -n python-gpod
77 This is the libgpod Python support package.
78
79 %description -n python-gpod -l pl
80 Biblioteki umo¿liwiaj±ce korzystanie z libgpod z poziomu
81 Pythona.
82
83 %prep
84 %setup -q
85
86 %build
87 %{__gtkdocize}
88 %{__glib_gettextize}
89 %{__intltoolize}
90 %{__libtoolize}
91 %{__aclocal} -I m4
92 %{__autoconf}
93 %{__autoheader}
94 %{__automake}
95 %configure \
96         --with-html-dir=%{_gtkdocdir} \
97         --with-python=yes
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 %py_postclean
107
108 %find_lang %{name} --all-name
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog README
119 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
120
121 %files devel
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
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libgpod.a
132
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
This page took 0.063452 seconds and 4 git commands to generate.