From df6c912ffa6c312a23fb46e5271bb57d94ff7478 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:16:07 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.39-1mamba;Mon Sep 12 2022] --- README.md | 2 ++ libzen.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 libzen.spec diff --git a/README.md b/README.md index 736acfb..3d62136 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libzen +Shared library for libmediainfo and mediainfo. + diff --git a/libzen.spec b/libzen.spec new file mode 100644 index 0000000..4ab985b --- /dev/null +++ b/libzen.spec @@ -0,0 +1,69 @@ +Name: libzen +Version: 0.4.39 +Release: 1mamba +Summary: shared library for libmediainfo and mediainfo +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://mediaarea.net +Source: https://mediaarea.net/download/source/libzen/%{version}/libzen_%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END + +%description +Shared library for libmediainfo and mediainfo. + +%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 -c +cd ZenLib/Project/GNU/Library +./autogen.sh + +%build +cd ZenLib/Project/GNU/Library +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd ZenLib/Project/GNU/Library + +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzen.so.* +%doc ZenLib/License.txt + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/ZenLib +%{_includedir}/ZenLib/* +%{_libdir}/libzen.so +%{_libdir}/pkgconfig/libzen.pc + +%changelog +* Mon Sep 12 2022 Silvan Calarco 0.4.39-1mamba +- package created using the webbuild interface