up to 2.11
[packages/libmpdclient.git] / libmpdclient.spec
CommitLineData
0eff1190
AF
1Summary: MPD client library
2Summary(pl.UTF-8): Biblioteka kliencka MPD
3Name: libmpdclient
71f444bf
JP
4Version: 2.11
5Release: 1
0eff1190
AF
6License: BSD-like
7Group: Libraries
e92fa4ff 8Source0: http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
71f444bf 9# Source0-md5: 2b2795929bba9e59f31118c4eedfe309
0eff1190 10URL: http://www.musicpd.org/doc/libmpdclient/
f377a060 11BuildRequires: autoconf
12BuildRequires: automake
0eff1190
AF
13BuildRequires: doxygen
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Library for Music Player Daemon client development.
18
19%description -l pl.UTF-8
20Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
21
22%package devel
23Summary: Header files for the MPD client library
24Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej MPD
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27
28%description devel
29Header files for MPD client library.
30
31%description devel -l pl.UTF-8
32Pliki nagłówkowe biblioteki klienckiej MPD.
33
34%package static
35Summary: Static MPD client library
36Summary(pl.UTF-8): Statyczna biblioteka kliencka MPD
37Group: Development/Libraries
38Requires: %{name}-devel = %{version}-%{release}
39
40%description static
41Static MPD client library.
42
43%description static -l pl.UTF-8
44Statyczna biblioteka kliencka MPD.
45
8d8505e2 46%package -n vala-libmpdclient
602b1b44
ER
47Summary: libmpdclient API for Vala language
48Summary(pl.UTF-8): API libmpdclient dla języka Vala
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51%if "%{_rpmversion}" >= "5"
52BuildArch: noarch
53%endif
8d8505e2
JP
54
55%description -n vala-libmpdclient
56libmpdclient API for Vala language.
57
58%description -n vala-libmpdclient -l pl.UTF-8
59API libmpdclient dla języka Vala.
60
0eff1190
AF
61%prep
62%setup -q
63
64%build
f377a060 65%{__aclocal} -I m4
66%{__autoconf}
67%{__autoheader}
68%{__automake}
0eff1190
AF
69%configure
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
602b1b44 78rm -rf $RPM_BUILD_ROOT%{_docdir}
0eff1190
AF
79
80%clean
81rm -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
8d8505e2
JP
103
104%files -n vala-libmpdclient
105%defattr(644,root,root,755)
106%{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.119457 seconds and 4 git commands to generate.