1732a01f25783d22fb6c933b0473f3282d08bc21
[packages/libmpdclient.git] / libmpdclient.spec
1 Summary:        MPD client library
2 Summary(pl.UTF-8):      Biblioteka kliencka MPD
3 Name:           libmpdclient
4 Version:        2.8
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.musicpd.org/download/libmpdclient/2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  79f6c810c291fa4f382a92c8e25123de
10 URL:            http://www.musicpd.org/doc/libmpdclient/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  doxygen
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Library for Music Player Daemon client development.
18
19 %description -l pl.UTF-8
20 Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
21
22 %package devel
23 Summary:        Header files for the MPD client library
24 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki klienckiej MPD
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for MPD client library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki klienckiej MPD.
33
34 %package static
35 Summary:        Static MPD client library
36 Summary(pl.UTF-8):      Statyczna biblioteka kliencka MPD
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Static MPD client library.
42
43 %description static -l pl.UTF-8
44 Statyczna biblioteka kliencka MPD.
45
46 %package -n vala-libmpdclient
47 Summary:        libmpdclient API for Vala language
48 Summary(pl.UTF-8):      API libmpdclient dla języka Vala
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description -n vala-libmpdclient
53 libmpdclient API for Vala language.
54
55 %description -n vala-libmpdclient -l pl.UTF-8
56 API libmpdclient dla języka Vala.
57
58 %prep
59 %setup -q
60
61 %build
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc README COPYING AUTHORS NEWS
86 %attr(755,root,root) %{_libdir}/libmpdclient.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.?
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc doc/api/html
92 %attr(755,root,root) %{_libdir}/libmpdclient.so
93 %{_libdir}/libmpdclient.la
94 %{_includedir}/mpd
95 %{_pkgconfigdir}/libmpdclient.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libmpdclient.a
100
101 %files -n vala-libmpdclient
102 %defattr(644,root,root,755)
103 %{_datadir}/vala/vapi/libmpdclient.vapi
This page took 0.052063 seconds and 2 git commands to generate.