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