From 9fbf3b4c21b90dd069b1b759b3d187895d40a4e1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:03:35 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.2.1-1mamba;Sat Jan 30 2021] --- README.md | 2 ++ libcue.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 libcue.spec diff --git a/README.md b/README.md index 9123567..e3921e2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcue +libcue provides an API for parsing and extracting data from CUE sheets. + diff --git a/libcue.spec b/libcue.spec new file mode 100644 index 0000000..e78a574 --- /dev/null +++ b/libcue.spec @@ -0,0 +1,67 @@ +Name: libcue +Version: 2.2.1 +Release: 1mamba +Summary: An API for parsing and extracting data from CUE sheets +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lipnitsk/libcue +Source: https://github.com/lipnitsk/libcue.git/v%{version}/libcue-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: flex +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libcue provides an API for parsing and extracting data from CUE sheets. + +%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 + +%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}/libcue.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%{_includedir}/libcue.h +%dir %{_includedir}/libcue +%{_includedir}/libcue/libcue.h +%{_libdir}/libcue.so +%{_libdir}/pkgconfig/libcue.pc +%doc ChangeLog README.md + +%changelog +* Sat Jan 30 2021 Silvan Calarco 2.2.1-1mamba +- package created using the webbuild interface