65 lines
1.4 KiB
RPMSpec
65 lines
1.4 KiB
RPMSpec
|
Name: libharu
|
||
|
Version: 2.4.4
|
||
|
Release: 1mamba
|
||
|
Summary: Free PDF library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://libharu.org/
|
||
|
Source: https://github.com/libharu/libharu.git/v%{version}/libharu-%{version}.tar.bz2
|
||
|
License: Zlib
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libpng-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
|
||
|
%description
|
||
|
Free PDF library.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libhpdf.so.*
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/hpdf*.h
|
||
|
%{_libdir}/libhpdf.so
|
||
|
%dir %{_datadir}/libharu
|
||
|
%{_datadir}/libharu/*
|
||
|
%doc CHANGES README.md README_cmake
|
||
|
|
||
|
%changelog
|
||
|
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-1mamba
|
||
|
- package created using the webbuild interface
|