up to 2.11
[packages/libmpdclient.git] / libmpdclient.spec
1 Summary:        MPD client library
2 Summary(pl.UTF-8):      Biblioteka kliencka MPD
3 Name:           libmpdclient
4 Version:        2.11
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
9 # Source0-md5:  2b2795929bba9e59f31118c4eedfe309
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 %package -n vala-libmpdclient
47 Summary:        libmpdclient API for Vala language
48 Summary(pl.UTF-8):      API libmpdclient dla języka Vala
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51 %if "%{_rpmversion}" >= "5"
52 BuildArch:      noarch
53 %endif
54
55 %description -n vala-libmpdclient
56 libmpdclient API for Vala language.
57
58 %description -n vala-libmpdclient -l pl.UTF-8
59 API libmpdclient dla języka Vala.
60
61 %prep
62 %setup -q
63
64 %build
65 %{__aclocal} -I m4
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 rm -rf $RPM_BUILD_ROOT%{_docdir}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc README COPYING AUTHORS NEWS
89 %attr(755,root,root) %{_libdir}/libmpdclient.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.?
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc doc/api/html
95 %attr(755,root,root) %{_libdir}/libmpdclient.so
96 %{_libdir}/libmpdclient.la
97 %{_includedir}/mpd
98 %{_pkgconfigdir}/libmpdclient.pc
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libmpdclient.a
103
104 %files -n vala-libmpdclient
105 %defattr(644,root,root,755)
106 %{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.124729 seconds and 3 git commands to generate.