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