up to 2.19
[packages/libmpdclient.git] / libmpdclient.spec
CommitLineData
0eff1190
AF
1Summary: MPD client library
2Summary(pl.UTF-8): Biblioteka kliencka MPD
3Name: libmpdclient
1436021a 4Version: 2.19
7e679b82 5Release: 1
0eff1190
AF
6License: BSD-like
7Group: Libraries
e92fa4ff 8Source0: http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
1436021a 9# Source0-md5: aee66cbf5ce2ebf1b976e9c6ade0feee
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
9f8376f4
JP
35%package static
36Summary: Static MPD client library
37Summary(pl.UTF-8): Statyczna biblioteka kliencka MPD
38Group: Development/Libraries
39Requires: %{name}-devel = %{version}-%{release}
40
41%description static
42Static MPD client library.
43
44%description static -l pl.UTF-8
45Statyczna biblioteka kliencka MPD.
46
8d8505e2 47%package -n vala-libmpdclient
602b1b44
ER
48Summary: libmpdclient API for Vala language
49Summary(pl.UTF-8): API libmpdclient dla języka Vala
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52%if "%{_rpmversion}" >= "5"
53BuildArch: noarch
54%endif
8d8505e2
JP
55
56%description -n vala-libmpdclient
57libmpdclient API for Vala language.
58
59%description -n vala-libmpdclient -l pl.UTF-8
60API libmpdclient dla języka Vala.
61
0eff1190
AF
62%prep
63%setup -q
64
65%build
ffd4fda5
JP
66%meson build \
67 -Ddocumentation=true
68
7e679b82 69%meson_build -C build
0eff1190
AF
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
7e679b82 74%meson_install -C build
0eff1190 75
602b1b44 76rm -rf $RPM_BUILD_ROOT%{_docdir}
0eff1190
AF
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post -p /sbin/ldconfig
82%postun -p /sbin/ldconfig
83
84%files
85%defattr(644,root,root,755)
ffd4fda5
JP
86%doc README.rst COPYING AUTHORS NEWS
87%attr(755,root,root) %{_libdir}/libmpdclient.so.*.*
88%attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.2
0eff1190
AF
89
90%files devel
91%defattr(644,root,root,755)
ffd4fda5 92%doc build/doc/html
0eff1190 93%attr(755,root,root) %{_libdir}/libmpdclient.so
0eff1190
AF
94%{_includedir}/mpd
95%{_pkgconfigdir}/libmpdclient.pc
96
9f8376f4
JP
97%files static
98%defattr(644,root,root,755)
99%{_libdir}/libmpdclient.a
100
8d8505e2
JP
101%files -n vala-libmpdclient
102%defattr(644,root,root,755)
103%{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.091462 seconds and 4 git commands to generate.