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