]> git.pld-linux.org Git - packages/libgpod.git/blob - libgpod.spec
- dropped zero epoch (not present in deps)
[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.0
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
9 # Source0-md5:  e427e0409b0cb2d7e76b17915b1396fa
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
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 libgpod is a library meant to abstract access to an iPod content. It
26 provides an easy to use API to retrieve the list of files and playlist
27 stored on an iPod, to modify them and to save them back to the iPod.
28
29 %description -l pl
30 libgpod to biblioteka maj±ca na celu wyabstrahowanie dostêpu do
31 zawarto¶ci iPodów. Udostêpnia ³atwe w u¿yciu API do pobierania listy
32 plików i playlist zapisanych na iPodzie, modyfikowania ich i
33 zapisywania z powrotem na iPoda.
34
35 %package devel
36 Summary:        Header files for libgpod library
37 Summary(pl):    Pliki nag³ówkowe biblioteki libgpod
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       dbus-glib-devel >= 0.71
41 Requires:       gtk+2-devel >= 2:2.10.1
42 Requires:       hal-devel >= 0.5.7.1
43
44 %description devel
45 This is the package containing the header files for libgpod library.
46
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgpod.
49
50 %package static
51 Summary:        Static libgpod library
52 Summary(pl):    Statyczna biblioteka libgpod
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static libgpod library.
58
59 %description static -l pl
60 Statyczna biblioteka libgpod.
61
62 %prep
63 %setup -q
64
65 %build
66 %{__gtkdocize}
67 %{__glib_gettextize}
68 %{__intltoolize}
69 %{__libtoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --with-eject-command="/usr/bin/eject" \
76         --with-unmount-command="/bin/umount"
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %find_lang %{name} --all-name
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog README
96 %attr(755,root,root) %{_libdir}/libgpod.so.*.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %{_libdir}/libgpod.la
101 %attr(755,root,root) %{_libdir}/libgpod.so
102 %{_pkgconfigdir}/libgpod-1.0.pc
103 %{_includedir}/gpod-1.0
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libgpod.a
This page took 0.097213 seconds and 4 git commands to generate.