package created using the webbuild interface [release 0.5.0-1mamba;Sat Sep 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:58:34 +01:00
parent ecb499e524
commit e1310e754e
2 changed files with 82 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# drpm
A library for making, reading and applying deltarpm packages.

80
drpm.spec Normal file
View File

@ -0,0 +1,80 @@
Name: drpm
Version: 0.5.0
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: ldconfig
BuildRequires: libbzip2-devel
BuildRequires: liblzma-devel
BuildRequires: libopenssl-devel
BuildRequires: librpm-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* Sat Sep 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
- package created using the webbuild interface