libmodplug/libmodplug.spec

97 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libmodplug
Version: 0.8.9.0
Release: 1mamba
Summary: MOD music file playing library
Group: System/Libraries
Distribution: openmamba
Vendor: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://modplug-xmms.sourceforge.net/
Source: http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/%{version}/libmodplug-%{version}.tar.gz
Patch0: libmodplug-0.8.8.5-pkgconfig.patch
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Libmodplug is the library behind Modplug-XMMS, a fully featured, complete input plugin for XMMS which plays mod-like music formats.
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel.
%prep
%setup -q
%patch0 -p1
%build
%configure --enable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/libmodplug.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-, root, root)
%dir %{_includedir}/libmodplug
%{_includedir}/libmodplug/*.h
%{_libdir}/libmodplug.a
%{_libdir}/libmodplug.la
%{_libdir}/libmodplug.so
%{_libdir}/pkgconfig/libmodplug.pc
%doc ChangeLog README TODO
%changelog
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 0.8.9.0-1mamba
- automatic version update by autodist
* Wed Apr 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8.5-2mamba
- fix includedir in pkg-config file
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 0.8.8.5-1mamba
- automatic version update by autodist
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 0.8.8.4-1mamba
- automatic version update by autodist
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 0.8.8.1-1mamba
- update to 0.8.8.1
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
- automatic update by autodist
* Tue Jun 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1mamba
- update to 0.8.4
- updated maintainer
* Wed Jun 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.7-3qilnx
- fixed package group
- use macros for building/installing
- own %{_includedir}/libmodplug
* Fri Jun 10 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.7-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Fri Jun 10 2005 Matteo Bernasconi <voyagernm@virgilio.it> 0.7-1qilnx
- first build