]>
Commit | Line | Data |
---|---|---|
07bb61aa | 1 | Summary: MPD client library |
2 | Summary(pl.UTF-8): Biblioteka kliencka MPD | |
3 | Name: libmpd | |
b4cc7175 | 4 | Version: 11.8.17 |
4dff48db | 5 | Release: 3 |
07bb61aa | 6 | License: GPL v2+ |
7 | Group: Libraries | |
c65e0356 | 8 | Source0: http://download.sarine.nl/Programs/gmpc/%{version}/%{name}-%{version}.tar.gz |
b4cc7175 | 9 | # Source0-md5: 5ae3d87467d52aef3345407adb0a2488 |
216f689d | 10 | Patch0: config.h.patch |
b4cc7175 | 11 | URL: http://www.gmpclient.org/ |
07bb61aa | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: glib2-devel >= 1:2.16.0 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Library for Music Player Daemon client development. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Biblioteka do tworzenia klientów demona MPD (Music Player Daemon). | |
24 | ||
25 | %package devel | |
26 | Summary: Header files for the MPD client library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej MPD | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | Requires: glib2-devel >= 1:2.16.0 | |
31 | ||
32 | %description devel | |
33 | Header files for MPD client library. | |
34 | ||
35 | %description devel -l pl.UTF-8 | |
36 | Pliki nagłówkowe biblioteki klienckiej MPD. | |
37 | ||
38 | %package static | |
39 | Summary: Static MPD client library | |
40 | Summary(pl.UTF-8): Statyczna biblioteka kliencka MPD | |
41 | Group: Development/Libraries | |
42 | Requires: %{name}-devel = %{version}-%{release} | |
43 | ||
44 | %description static | |
45 | Static MPD client library. | |
46 | ||
47 | %description static -l pl.UTF-8 | |
48 | Statyczna biblioteka kliencka MPD. | |
49 | ||
50 | %prep | |
51 | %setup -q | |
216f689d | 52 | %patch0 -p1 |
07bb61aa | 53 | |
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_libdir}/libmpd.so.*.*.* | |
b4cc7175 | 78 | %attr(755,root,root) %ghost %{_libdir}/libmpd.so.1 |
07bb61aa | 79 | |
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
82 | %attr(755,root,root) %{_libdir}/libmpd.so | |
83 | %{_libdir}/libmpd.la | |
84 | %{_includedir}/libmpd-1.0 | |
85 | %{_pkgconfigdir}/libmpd.pc | |
86 | ||
87 | %files static | |
88 | %defattr(644,root,root,755) | |
89 | %{_libdir}/libmpd.a |