init package
(cherry picked from commit 7c4ab51c362458105b7e20480752a6019d45885c)
This commit is contained in:
parent
d992e6c9ed
commit
e6961cbd65
BIN
docparser-1.0.3.tar.gz
Normal file
BIN
docparser-1.0.3.tar.gz
Normal file
Binary file not shown.
57
docparser.spec
Normal file
57
docparser.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: docparser
|
||||||
|
Version: 1.0.3
|
||||||
|
Release: 1
|
||||||
|
Summary: A document parser library ported from document2html
|
||||||
|
|
||||||
|
# The entire source code is GPLv2+ except
|
||||||
|
# src/utils/getoptpp.* which are Boost,
|
||||||
|
# src/utils/json.hpp,
|
||||||
|
# src/utils/miniz.c,
|
||||||
|
# src/utils/pugiconfig.hpp,
|
||||||
|
# src/utils/pugixml.cpp and
|
||||||
|
# src/utils/pugixml.hpp
|
||||||
|
# which are MIT,
|
||||||
|
# /src/utils/lodepng.* which are zlib
|
||||||
|
License: GPLv3+ and Boost and MIT and zlib
|
||||||
|
URL: https://github.com/linuxdeepin/docparser
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkgconfig(poppler-cpp)
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This file content analysis library is provided for the full-text search function
|
||||||
|
of document management.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development package for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files and libraries for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
|
%qmake_qt5 LIB_INSTALL_DIR=%{_libdir}
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_libdir}/lib%{name}.so.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 14 2023 leeffo <liweiganga@uniontech.com> - 1.0.3-1
|
||||||
|
- init: init package
|
||||||
4
docparser.yaml
Normal file
4
docparser.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: linuxdeepin/docparser
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user