BRs for tar.xz source
[packages/libmpdclient.git] / libmpdclient.spec
CommitLineData
0eff1190
AF
1Summary: MPD client library
2Summary(pl.UTF-8): Biblioteka kliencka MPD
3Name: libmpdclient
373ee1e9 4Version: 2.20
7e679b82 5Release: 1
0eff1190
AF
6License: BSD-like
7Group: Libraries
e92fa4ff 8Source0: http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.xz
373ee1e9 9# Source0-md5: 2c007da25c0de18921f9fb3155218865
0eff1190
AF
10URL: http://www.musicpd.org/doc/libmpdclient/
11BuildRequires: doxygen
ffd4fda5
JP
12BuildRequires: meson > 0.38.1
13BuildRequires: ninja
bd86a06b 14BuildRequires: rpmbuild(macros) >= 1.736
a80a873b
JP
15BuildRequires: tar >= 1:1.22
16BuildRequires: xz
0eff1190
AF
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Library for Music Player Daemon client development.
21
22%description -l pl.UTF-8
23Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
24
25%package devel
26Summary: Header files for the MPD client library
27Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej MPD
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Header files for MPD client library.
33
34%description devel -l pl.UTF-8
35Pliki nagłówkowe biblioteki klienckiej MPD.
36
9f8376f4
JP
37%package static
38Summary: Static MPD client library
39Summary(pl.UTF-8): Statyczna biblioteka kliencka MPD
40Group: Development/Libraries
41Requires: %{name}-devel = %{version}-%{release}
42
43%description static
44Static MPD client library.
45
46%description static -l pl.UTF-8
47Statyczna biblioteka kliencka MPD.
48
8d8505e2 49%package -n vala-libmpdclient
602b1b44
ER
50Summary: libmpdclient API for Vala language
51Summary(pl.UTF-8): API libmpdclient dla języka Vala
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
602b1b44 54BuildArch: noarch
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
bd86a06b 69%ninja_build -C build
0eff1190
AF
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
bd86a06b 74%ninja_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.060486 seconds and 4 git commands to generate.