From cab1ba3426a0b36f3bc93ed4d214a1e9e90c6c2a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:24:50 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.6.3-1mamba;Sat Jun 24 2023] --- README.md | 2 ++ libgme.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libgme.spec diff --git a/README.md b/README.md index d598822..962a206 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgme +Video game music file emulation/playback library. + diff --git a/libgme.spec b/libgme.spec new file mode 100644 index 0000000..5e17afc --- /dev/null +++ b/libgme.spec @@ -0,0 +1,66 @@ +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 +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 0.6.3-1mamba +- package created using the webbuild interface