- initial, based on libmpd.spec
authorArtur Frysiak <artur@frysiak.net>
Tue, 6 Oct 2009 18:47:31 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libmpdclient.spec -> 1.1

libmpdclient.spec [new file with mode: 0644]

diff --git a/libmpdclient.spec b/libmpdclient.spec
new file mode 100644 (file)
index 0000000..5c3827a
--- /dev/null
@@ -0,0 +1,81 @@
+Summary:       MPD client library
+Summary(pl.UTF-8):     Biblioteka kliencka MPD
+Name:          libmpdclient
+Version:       2.0
+Release:       0.1
+License:       BSD-like
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/musicpd/%{name}-%{version}.tar.gz
+# Source0-md5: 08b97c6a971ec542260cc6278a9b1530
+URL:           http://www.musicpd.org/doc/libmpdclient/
+BuildRequires: doxygen
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library for Music Player Daemon client development.
+
+%description -l pl.UTF-8
+Biblioteka do tworzenia klientów demona MPD (Music Player Daemon).
+
+%package devel
+Summary:       Header files for the MPD client library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki klienckiej MPD
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for MPD client library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki klienckiej MPD.
+
+%package static
+Summary:       Static MPD client library
+Summary(pl.UTF-8):     Statyczna biblioteka kliencka MPD
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static MPD client library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka kliencka MPD.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README COPYING AUTHORS NEWS
+%attr(755,root,root) %{_libdir}/libmpdclient.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmpdclient.so.?
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/api/html
+%attr(755,root,root) %{_libdir}/libmpdclient.so
+%{_libdir}/libmpdclient.la
+%{_includedir}/mpd
+%{_pkgconfigdir}/libmpdclient.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmpdclient.a
This page took 0.121958 seconds and 4 git commands to generate.