package created using the webbuild interface [release 4.02-1mamba;Mon Apr 05 2021]
This commit is contained in:
parent
63623c654f
commit
4a570a8926
@ -1,2 +1,4 @@
|
|||||||
# libxpdf
|
# libxpdf
|
||||||
|
|
||||||
|
Static library build from xpdf reader source with most dependencies(zlib, libpng, freetype2) included within.
|
||||||
|
|
||||||
|
21
libxpdf-4.02-cmake_install_dirs.patch
Normal file
21
libxpdf-4.02-cmake_install_dirs.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- libxpdf-4.02/xpdf-4.02/xpdf/CMakeLists.txt.orig 2021-04-05 19:49:27.552405989 +0200
|
||||||
|
+++ libxpdf-4.02/xpdf-4.02/xpdf/CMakeLists.txt 2021-04-05 19:50:44.402804198 +0200
|
||||||
|
@@ -291,8 +291,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
INSTALL(TARGETS xpdf
|
||||||
|
- LIBRARY DESTINATION libxpdf/lib
|
||||||
|
- ARCHIVE DESTINATION libxpdf/lib
|
||||||
|
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||||
|
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
||||||
|
)
|
||||||
|
|
||||||
|
FILE(GLOB source_headers
|
||||||
|
@@ -304,6 +304,6 @@
|
||||||
|
"${PROJECT_SOURCE_DIR}/xpdf/*.h"
|
||||||
|
)
|
||||||
|
|
||||||
|
-INSTALL(FILES ${source_headers} DESTINATION libxpdf/include)
|
||||||
|
+INSTALL(FILES ${source_headers} DESTINATION include/libxpdf)
|
||||||
|
|
||||||
|
|
54
libxpdf.spec
Normal file
54
libxpdf.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user