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