55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
|
Name: libxpdf
|
||
|
Version: 4.02
|
||
|
Release: 1mamba
|
||
|
Summary: Static library build from xpdf reader source with most dependencies(zlib, libpng, freetype2) included within
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/ashutoshvarma/libxpdf
|
||
|
Source: https://github.com/ashutoshvarma/libxpdf/releases/download/v0.1.3/libxpdf-%{version}.tar.gz
|
||
|
Patch0: libxpdf-4.02-cmake_install_dirs.patch
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
|
||
|
%description
|
||
|
Static library build from xpdf reader source with most dependencies(zlib, libpng, freetype2) included within.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static library build from xpdf reader source with most dependencies(zlib, libpng, freetype2) included within
|
||
|
|
||
|
%description devel
|
||
|
Static library build from xpdf reader source with most dependencies(zlib, libpng, freetype2) included within
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
#% debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -c %{name}-%{version}
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libxpdf
|
||
|
%{_includedir}/libxpdf/*.h
|
||
|
%{_libdir}/libxpdf.a
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|
||
|
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.02-1mamba
|
||
|
- package created using the webbuild interface
|