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