67 lines
1.6 KiB
RPMSpec
67 lines
1.6 KiB
RPMSpec
|
Name: libgme
|
||
|
Version: 0.6.3
|
||
|
Release: 1mamba
|
||
|
Summary: Video game music file emulation/playback library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://bitbucket.org/mpyne/game-music-emu
|
||
|
Source: https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-%{version}.tar.xz
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libubsan-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
|
||
|
%description
|
||
|
Video game music file emulation/playback library.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n game-music-emu-%{version}
|
||
|
|
||
|
%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}/libgme.so.*
|
||
|
%doc license.txt license.gpl2.txt
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/gme
|
||
|
%{_includedir}/gme/*.h
|
||
|
%{_libdir}/libgme.so
|
||
|
%{_libdir}/pkgconfig/libgme.pc
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jun 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1mamba
|
||
|
- package created using the webbuild interface
|