bump required rpmbuild(macros); rel 2
[packages/libmpdclient.git] / libmpdclient.spec
CommitLineData
0eff1190
AF
1Summary: MPD client library
2Summary(pl.UTF-8): Biblioteka kliencka MPD
3Name: libmpdclient
ffd4fda5 4Version: 2.13
efacc8e4 5Release: 2
0eff1190
AF
6License: BSD-like
7Group: Libraries
e92fa4ff 8Source0: http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
ffd4fda5 9# Source0-md5: 63a3c3f757f073be6f225b1ecc2b8116
0eff1190
AF
10URL: http://www.musicpd.org/doc/libmpdclient/
11BuildRequires: doxygen
ffd4fda5
JP
12BuildRequires: meson > 0.38.1
13BuildRequires: ninja
efacc8e4 14BuildRequires: rpmbuild(macros) >= 1.725
0eff1190
AF
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Library for Music Player Daemon client development.
19
20%description -l pl.UTF-8
21Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
22
23%package devel
24Summary: Header files for the MPD client library
25Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej MPD
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28
29%description devel
30Header files for MPD client library.
31
32%description devel -l pl.UTF-8
33Pliki nagłówkowe biblioteki klienckiej MPD.
34
8d8505e2 35%package -n vala-libmpdclient
602b1b44
ER
36Summary: libmpdclient API for Vala language
37Summary(pl.UTF-8): API libmpdclient dla języka Vala
38Group: Development/Libraries
39Requires: %{name}-devel = %{version}-%{release}
40%if "%{_rpmversion}" >= "5"
41BuildArch: noarch
42%endif
8d8505e2
JP
43
44%description -n vala-libmpdclient
45libmpdclient API for Vala language.
46
47%description -n vala-libmpdclient -l pl.UTF-8
48API libmpdclient dla języka Vala.
49
0eff1190
AF
50%prep
51%setup -q
52
53%build
ffd4fda5
JP
54%meson build \
55 -Ddocumentation=true
56
57%ninja -C build
0eff1190
AF
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
ffd4fda5
JP
62DESTDIR=$RPM_BUILD_ROOT \
63%ninja -C build install
0eff1190 64
602b1b44 65rm -rf $RPM_BUILD_ROOT%{_docdir}
0eff1190
AF
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files
74%defattr(644,root,root,755)
ffd4fda5
JP
75%doc README.rst COPYING AUTHORS NEWS
76%attr(755,root,root) %{_libdir}/libmpdclient.so.*.*
77%attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.2
0eff1190
AF
78
79%files devel
80%defattr(644,root,root,755)
ffd4fda5 81%doc build/doc/html
0eff1190 82%attr(755,root,root) %{_libdir}/libmpdclient.so
0eff1190
AF
83%{_includedir}/mpd
84%{_pkgconfigdir}/libmpdclient.pc
85
8d8505e2
JP
86%files -n vala-libmpdclient
87%defattr(644,root,root,755)
88%{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.086021 seconds and 4 git commands to generate.