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