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