packages: libmusicbrainz4/libmusicbrainz4.spec (NEW)=?UTF-8?Q?=20?=- new, based on libmus...
megabajt
megabajt at pld-linux.org
Wed Mar 28 21:12:54 CEST 2012
Author: megabajt Date: Wed Mar 28 19:12:54 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new, based on libmusicbrainz3
---- Files affected:
packages/libmusicbrainz4:
libmusicbrainz4.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libmusicbrainz4/libmusicbrainz4.spec
diff -u /dev/null packages/libmusicbrainz4/libmusicbrainz4.spec:1.1
--- /dev/null Wed Mar 28 21:12:54 2012
+++ packages/libmusicbrainz4/libmusicbrainz4.spec Wed Mar 28 21:12:49 2012
@@ -0,0 +1,93 @@
+# $Revision$, $Date$
+Summary: A software library for accesing MusicBrainz servers
+Summary(pl.UTF-8): Biblioteka umożliwiająca korzystanie z serwerów MusicBrainz
+Name: libmusicbrainz4
+Version: 4.0.0
+Release: 1
+License: LGPL v2.1+
+Group: Libraries
+Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz
+# Source0-md5: f4824d0a75bdeeef1e45cc88de7bb58a
+URL: http://www.musicbrainz.org/
+BuildRequires: cmake >= 2.6
+BuildRequires: cppunit-devel
+BuildRequires: neon-devel >= 0.25
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The MusicBrainz client library allows applications to make metadata
+lookup to a MusicBrainz server, generate signatures from WAV data and
+create CD Index Disk ids from audio CD roms.
+
+%description -l pl.UTF-8
+Biblioteka kliencka MusicBrainz pozwala aplikacjom na wysyłanie
+zapytań do serwerów MusicBrainz, generowanie sygnatur z plików WAV
+oraz tworzenie indeksów z płyt CD audio.
+
+%package devel
+Summary: Headers for developing programs that will use libmusicbrainz
+Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania programów używających libmusicbrainz
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libstdc++-devel
+Requires: neon-devel >= 0.25
+
+%description devel
+This package contains the headers that programmers will need to
+develop applications which will use libmusicbrainz.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe potrzebne programistom do rozwijania aplikacji
+używających biblioteki libmusicbrainz.
+
+%prep
+%setup -q -n libmusicbrainz-%{version}
+
+%build
+%cmake . \
+ -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+ -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+%if "%{_lib}" == "lib64"
+ -DLIB_SUFFIX=64
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# for rpm autodeps
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/libmusicbrainz4.so*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS.txt NEWS.txt README.txt
+%attr(755,root,root) %{_libdir}/libmusicbrainz4.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmusicbrainz4.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmusicbrainz4.so
+%{_includedir}/musicbrainz4
+%{_pkgconfigdir}/libmusicbrainz4.pc
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/03/28 19:12:49 megabajt
+- new, based on libmusicbrainz3
================================================================
More information about the pld-cvs-commit
mailing list