Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f22aea7127 | ||
|
|
e21ce17a41 | ||
|
|
43b2b98ff8 |
3 changed files with 6 additions and 37 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -17,11 +17,3 @@
|
|||
/xournalpp-1.2.7.tar.gz
|
||||
/xournalpp-1.2.8.tar.gz
|
||||
/xournalpp-1.2.10.tar.gz
|
||||
/xournalpp-1.3.0.tar.gz
|
||||
/xournalpp-1.3.1.tar.gz
|
||||
/xournalpp-1.3.2.tar.gz
|
||||
/xournalpp-1.3.3.tar.gz
|
||||
/xournalpp-1.3.4.tar.gz
|
||||
/xournalpp-1.3.5.tar.gz
|
||||
/xournalpp-1.3.6.tar.gz
|
||||
/xournalpp-1.3.7.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (xournalpp-1.3.7.tar.gz) = 119f11d9a6a22c616b104b559a56fa960047a898e016c22987d44fadcae5659896f7d7ecb110b86bd3bce8d5bdfb5b78849233e96bfa3905b6c750ce80ea3c5d
|
||||
SHA512 (xournalpp-1.2.10.tar.gz) = 1bdbbc53b31e295ced095667dfb1935c624ec967d2aaa29ccf244f9e0a661bc5397a5bc66365e8d250071c0393695b404616ceee68438c2cb282ffb6a895ff02
|
||||
|
|
|
|||
|
|
@ -1,18 +1,11 @@
|
|||
%bcond cppunit 1
|
||||
%bcond gtest 1
|
||||
%bcond profiling 1
|
||||
|
||||
# qpdf is not available with the required version on RHEL ≤ 9
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 9
|
||||
%bcond qpdf 0
|
||||
%else
|
||||
%bcond qpdf 1
|
||||
%endif
|
||||
|
||||
%global forgeurl https://github.com/xournalpp/xournalpp
|
||||
|
||||
Name: xournalpp
|
||||
Version: 1.3.7
|
||||
Version: 1.2.10
|
||||
Release: %autorelease
|
||||
Summary: Handwriting note-taking software with PDF annotation support
|
||||
License: GPL-2.0-or-later
|
||||
|
|
@ -25,10 +18,8 @@ BuildRequires: desktop-file-utils
|
|||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gettext
|
||||
BuildRequires: git
|
||||
BuildRequires: help2man
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: ninja-build
|
||||
|
||||
%if %{with cppunit}
|
||||
BuildRequires: pkgconfig(cppunit) >= 1.12
|
||||
|
|
@ -82,11 +73,9 @@ This package contains user interface resources for %{name}.
|
|||
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DDISTRO_CODENAME="Fedora Linux" \
|
||||
-DENABLE_GTEST=%{with gtest} \
|
||||
-DENABLE_PROFILING=%{with profiling} \
|
||||
-DENABLE_QPDF=%{with qpdf}
|
||||
-DENABLE_PROFILING=%{with profiling}
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
|
@ -94,17 +83,6 @@ This package contains user interface resources for %{name}.
|
|||
%cmake_install
|
||||
%find_lang %{name}
|
||||
|
||||
# Generate and install man pages.
|
||||
install -d '%{buildroot}%{_mandir}/man1'
|
||||
for cmd in %{buildroot}%{_bindir}/*
|
||||
do
|
||||
LD_LIBRARY_PATH='%{buildroot}%{_libdir}' \
|
||||
help2man \
|
||||
--no-info --no-discard-stderr --version-string='%{version}' \
|
||||
--output="%{buildroot}%{_mandir}/man1/$(basename "${cmd}").1" \
|
||||
"${cmd}"
|
||||
done
|
||||
|
||||
# Remove unnecessary scripts and duplicate files
|
||||
find %{buildroot} -name "*.sh" -delete
|
||||
%fdupes %{buildroot}
|
||||
|
|
@ -116,25 +94,24 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
|
|||
%files -f %{name}.lang
|
||||
%license LICENSE
|
||||
%doc README.md AUTHORS
|
||||
%{_bindir}/%{name}{,-thumbnailer,-wrapper}
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-thumbnailer
|
||||
%{_datadir}/applications/com.github.%{name}.%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/com.github.%{name}.%{name}.svg
|
||||
%{_datadir}/icons/hicolor/scalable/mimetypes/*
|
||||
%{_datadir}/mime/packages/com.github.%{name}.%{name}.xml
|
||||
%{_datadir}/thumbnailers/com.github.%{name}.%{name}.thumbnailer
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_datadir}/%{name}/palettes/*.gpl
|
||||
%{_datadir}/%{name}/resources/*_template.tex
|
||||
%{_mandir}/man1/%{name}*.gz
|
||||
%{_metainfodir}/com.github.%{name}.%{name}.appdata.xml
|
||||
|
||||
%files plugins
|
||||
%doc README.md
|
||||
%{_datadir}/%{name}/plugins
|
||||
|
||||
%files ui
|
||||
%doc README.md
|
||||
%{_datadir}/%{name}/ui
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue