70 lines
1.6 KiB
RPMSpec
70 lines
1.6 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.4.39-1mamba
|
||
|
- package created using the webbuild interface
|