fix includedir in pkg-config file [release 0.8.8.5-2mamba;Wed Apr 30 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:04:56 +01:00
parent b65d02dc2a
commit 25f58a771d
3 changed files with 107 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libmodplug # libmodplug
Libmodplug is the library behind Modplug-XMMS, a fully featured, complete input plugin for XMMS which plays mod-like music formats.

View File

@ -0,0 +1,12 @@
diff -Nru libmodplug-0.8.8.5.orig/libmodplug.pc.in libmodplug-0.8.8.5/libmodplug.pc.in
--- libmodplug-0.8.8.5.orig/libmodplug.pc.in 2013-08-23 01:55:58.000000000 +0200
+++ libmodplug-0.8.8.5/libmodplug.pc.in 2014-04-30 00:51:29.446650500 +0200
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=${prefix}/include
+includedir=${prefix}/include/libmodplug
Name: libmodplug
Description: The ModPlug mod file playing library.

93
libmodplug.spec Normal file
View File

@ -0,0 +1,93 @@
Name: libmodplug
Version: 0.8.8.5
Release: 2mamba
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
* 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