drpm/drpm.spec

90 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: drpm
Version: 0.5.2
Release: 1mamba
Summary: A library for making, reading and applying deltarpm packages
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rpm-software-management/drpm
## GITSOURCE https://github.com/rpm-software-management/drpm.git 0.5.0
Source: https://github.com/rpm-software-management/drpm.git/%{version}/drpm-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: liblzma-devel
BuildRequires: libopenssl-devel
BuildRequires: libpopt-devel
BuildRequires: librpm-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A library for making, reading and applying deltarpm packages.
%package -n lib%{name}
Group: System/Libraries
Summary: A library for making, reading and applying deltarpm packages
%description -n lib%{name}
A library for making, reading and applying deltarpm packages.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-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 -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libdrpm.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/drpm.h
%{_libdir}/libdrpm.so
%{_libdir}/pkgconfig/drpm.pc
%changelog
* Wed May 17 2023 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic version update by autodist
* Wed Mar 16 2022 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
* Sat Sep 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
- package created using the webbuild interface