]> git.pld-linux.org Git - packages/libmpdclient.git/blame - libmpdclient.spec
- unconditional noarch subpackages
[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}
602b1b44 52BuildArch: noarch
8d8505e2
JP
53
54%description -n vala-libmpdclient
55libmpdclient API for Vala language.
56
57%description -n vala-libmpdclient -l pl.UTF-8
58API libmpdclient dla języka Vala.
59
0eff1190
AF
60%prep
61%setup -q
62
63%build
ffd4fda5
JP
64%meson build \
65 -Ddocumentation=true
66
7e679b82 67%meson_build -C build
0eff1190
AF
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
7e679b82 72%meson_install -C build
0eff1190 73
602b1b44 74rm -rf $RPM_BUILD_ROOT%{_docdir}
0eff1190
AF
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
ffd4fda5
JP
84%doc README.rst COPYING AUTHORS NEWS
85%attr(755,root,root) %{_libdir}/libmpdclient.so.*.*
86%attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.2
0eff1190
AF
87
88%files devel
89%defattr(644,root,root,755)
ffd4fda5 90%doc build/doc/html
0eff1190 91%attr(755,root,root) %{_libdir}/libmpdclient.so
0eff1190
AF
92%{_includedir}/mpd
93%{_pkgconfigdir}/libmpdclient.pc
94
9f8376f4
JP
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libmpdclient.a
98
8d8505e2
JP
99%files -n vala-libmpdclient
100%defattr(644,root,root,755)
101%{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.097284 seconds and 4 git commands to generate.