- up to 2.2
[packages/libmpdclient.git] / libmpdclient.spec
1 Summary:        MPD client library
2 Summary(pl.UTF-8):      Biblioteka kliencka MPD
3 Name:           libmpdclient
4 Version:        2.2
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.gz
9 # Source0-md5:  a157c1eb70502f1da8097477104e719e
10 URL:            http://www.musicpd.org/doc/libmpdclient/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  doxygen
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Library for Music Player Daemon client development.
18
19 %description -l pl.UTF-8
20 Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
21
22 %package devel
23 Summary:        Header files for the MPD client library
24 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki klienckiej MPD
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for MPD client library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki klienckiej MPD.
33
34 %package static
35 Summary:        Static MPD client library
36 Summary(pl.UTF-8):      Statyczna biblioteka kliencka MPD
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Static MPD client library.
42
43 %description static -l pl.UTF-8
44 Statyczna biblioteka kliencka MPD.
45
46 %prep
47 %setup -q
48
49 %build
50 %{__aclocal} -I m4
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README COPYING AUTHORS NEWS
74 %attr(755,root,root) %{_libdir}/libmpdclient.so.*.*.*
75 %attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.?
76
77 %files devel
78 %defattr(644,root,root,755)
79 %doc doc/api/html
80 %attr(755,root,root) %{_libdir}/libmpdclient.so
81 %{_libdir}/libmpdclient.la
82 %{_includedir}/mpd
83 %{_pkgconfigdir}/libmpdclient.pc
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/libmpdclient.a
This page took 0.045892 seconds and 3 git commands to generate.