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