xournalpp/xournalpp.spec
Atri Bhattacharya 8a69bb4e6b Accepting request 850681 from home:seijikun:branches:X11:Utilities
- Update to version 1.0.19:
  * Changed select object algorithm to be more intuitive
  * Added ability for taps with Select Rectangle and Select Region
    to act like Select Object (gh#xournalpp/xournalpp#1980).
  * Improved document loading speed (gh#xournalpp/xournalpp#2002).
  * Added a --version command to print the Xournal++ version
  * Added a libgtk version display to the About dialog
  * Added a 16kHz sample rate to audio settings and fixed the 91kHz
    sample rate (gh#xournalpp/xournalpp#2092).
  * Added file version check for future compatibility
    (gh#xournalpp/xournalpp#1991).
  * Changed wording of new page template dialog to be less
    confusing (gh#xournalpp/xournalpp#1524).
  * Fixed behavior of "Attach file to the journal" option when
    choosing "Annotate PDF" (#1725, #2106). This now allows the
    background PDF and the annotation files to be renamed and moved
    as long as they 1) share the same file prefix; and 2) share the
    same relative path.
  * Fixed an issue where clicking the X on the replace file dialog
    would overwrite the file (gh#xournalpp/xournalpp#1983).
  * (libcairo >= 1.16 only): Fixed PDF export crashing when the
    table of contents is empty (gh#xournalpp/xournalpp#2236)..
  * Fixed a bug where the PDF background would not update when
    loading a new document (gh#xournalpp/xournalpp#1964).
  * Fixed plugin window causing a crash on Ubuntu 16.04
  * Fixed a bug where the icon would not appear correctly on some
    desktop environments (gh#xournalpp/xournalpp#1892).
  * Fixed inconsistent ordering of button keybindings
    (gh#xournalpp/xournalpp#1961).
  * Fixed the Enter key not confirming PDF export settings
    (gh#xournalpp/xournalpp#1977).
  * Fixed exported PDF title (gh#xournalpp/xournalpp#2039).
  * Fixed a bug where different page backgrounds can cause PDFs to
    be exported with the wrong backgrounds
    (gh#xournalpp/xournalpp#2119).
  * Fixed a bug where the page number count would not be updated
    after deleting a page (gh#xournalpp/xournalpp#2134).
  * Fixed selection object tool not working correctly
    (gh#xournalpp/xournalpp#2081). / crashing
    (gh#xournalpp/xournalpp#2133). when there are multiple layers
- Drop xournalpp-fix-exporting-pdf-with-references.patch:
  incorporated upstream.

OBS-URL: https://build.opensuse.org/request/show/850681
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xournalpp?expand=0&rev=23
2020-11-25 10:41:11 +00:00

90 lines
2.8 KiB
RPMSpec

#
# spec file for package xournalpp
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xournalpp
Version: 1.0.19
Release: 0
Summary: Notetaking software designed around a tablet
License: GPL-2.0-or-later
Group: Productivity/Office/Other
URL: https://github.com/xournalpp/xournalpp
Source0: https://github.com/xournalpp/xournalpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM xournalpp-fix-desktop-categories.patch badshah400@gmail.com -- Fix desktop categories with additional keywords to prevent "No sufficient Category definition" error from brp-desktop.
Patch0: xournalpp-fix-desktop-categories.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: texlive-latex-bin
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libzip)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(portaudiocpp)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(zlib)
Recommends: tex(standalone.tex)
%description
Xournal++ is a hand note taking software.
It supports pen input, e.g. Wacom tablets.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%cmake
%install
%cmake_install
# REMOVE UNNECESSARY SCRIPTS update-icon-cache IS TAKEN CARE OF BY RPM FILE TRIGGERS
rm %{buildroot}%{_datadir}/%{name}/ui/*/hicolor/update-icon-cache.sh
%find_lang xournalpp %{no_lang_C}
%fdupes %{buildroot}%{_datadir}
%files
%license LICENSE
%doc AUTHORS README.md
%{_bindir}/xournal-thumbnailer
%{_bindir}/xournalpp
%{_datadir}/applications/*.xournalpp.desktop
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
%{_datadir}/mime/packages/*.xml
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/*.appdata.xml
%dir %{_datadir}/mimelnk
%dir %{_datadir}/mimelnk/application
%{_datadir}/mimelnk/application/*.desktop
%{_datadir}/xournalpp/
%{_datadir}/icons/hicolor/*/apps/*
%dir %{_datadir}/thumbnailers
%{_datadir}/thumbnailers/*.thumbnailer
%files lang -f xournalpp.lang
%changelog