up to 2.14
[packages/libmpdclient.git] / libmpdclient.spec
CommitLineData
0eff1190
AF
1Summary: MPD client library
2Summary(pl.UTF-8): Biblioteka kliencka MPD
3Name: libmpdclient
7e679b82
JP
4Version: 2.14
5Release: 1
0eff1190
AF
6License: BSD-like
7Group: Libraries
e92fa4ff 8Source0: http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
7e679b82 9# Source0-md5: 8a9a7c640e4d7397b9af5174c9415d17
0eff1190
AF
10URL: http://www.musicpd.org/doc/libmpdclient/
11BuildRequires: doxygen
ffd4fda5
JP
12BuildRequires: meson > 0.38.1
13BuildRequires: ninja
7e679b82 14BuildRequires: rpmbuild(macros) >= 1.727
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
7e679b82 57%meson_build -C build
0eff1190
AF
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
7e679b82 62%meson_install -C build
0eff1190 63
602b1b44 64rm -rf $RPM_BUILD_ROOT%{_docdir}
0eff1190
AF
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files
73%defattr(644,root,root,755)
ffd4fda5
JP
74%doc README.rst COPYING AUTHORS NEWS
75%attr(755,root,root) %{_libdir}/libmpdclient.so.*.*
76%attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.2
0eff1190
AF
77
78%files devel
79%defattr(644,root,root,755)
ffd4fda5 80%doc build/doc/html
0eff1190 81%attr(755,root,root) %{_libdir}/libmpdclient.so
0eff1190
AF
82%{_includedir}/mpd
83%{_pkgconfigdir}/libmpdclient.pc
84
8d8505e2
JP
85%files -n vala-libmpdclient
86%defattr(644,root,root,755)
87%{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.10509 seconds and 4 git commands to generate.