libmusicbrainz/libmusicbrainz.spec

80 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: libmusicbrainz
Version: 3.0.3
Release: 1mamba
Summary: MusicBrainz Client Library
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
URL: http://www.musicbrainz.org/
Source: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz
License: GPL
BuildRequires: libexpat-devel >= 1.95.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The MusicBrainz client is a library which can be built into other programs.
The library allows you to access the data held on the MusicBrainz server.
%package devel
Group: Development/Libraries
Summary: MusicBrainz Client Development Library
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The MusicBrainz client is a library which can be built into other programs.
The library allows you to access the data held on the MusicBrainz server.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmusicbrainz3.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/musicbrainz3/*.h
#%{_libdir}/libmusicbrainz3.a
#%{_libdir}/libmusicbrainz3.la
%{_libdir}/libmusicbrainz3.so
%{_libdir}/pkgconfig/libmusicbrainz3.pc
%changelog
* Tue Oct 05 2010 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic update by autodist
* Thu Jan 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
- automatic update by autodist
* Mon Apr 09 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 2.1.4-1mamba
- update to 2.1.4
* Wed Jun 14 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.1.2-1qilnx
- update to version 2.1.2 by autospec
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-3qilnx
- specfile updates/fixes
* Wed Jul 28 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-2qilnx
- added the missing %%post and %%postun scripts
* Thu Apr 29 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.1.1-1qilnx
- new version rebuild