Release: 1
License: GPL v3+
Group: X11/Applications
-Source0: http://www.giuspen.com/software/%{name}_%{version}.tar.xz
+Source0: https://www.giuspen.com/software/%{name}_%{version}.tar.xz
# Source0-md5: e8dd108f5a8aa81315f600c4e656265d
-URL: http://www.giuspen.com/cherrytree
+URL: https://www.giuspen.com/cherrytree/
BuildRequires: curl-devel
BuildRequires: gspell-devel
BuildRequires: gtkmm3-devel
BuildRequires: shared-mime-info
BuildRequires: spdlog-devel >= 1:1.8.1
BuildRequires: uchardet-devel
-
Requires: gspell
Requires: gtksourceviewmm3
Requires: libfmt
Requires: libxml++2
Requires: shared-mime-info
Requires: spdlog >= 1:1.8.1
-
Suggests: p7zip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
A hierarchical note taking application, featuring rich text and syntax
highlighting, storing all the data (including images) in a single xml
%prep
%setup -q -n %{name}_%{version}
-#sed -i -e 's/#!\/usr\/bin\/env\ python2/#!\/usr\/bin\/python2/' glade/svg_to_png.py
%build
-mkdir -p build
+install -d build
cd build
%cmake .. \
-DMAKE_BUILD_TYPE=Release \
%install
rm -rf $RPM_BUILD_ROOT
-
-cd build
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-cd ..
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
## Remove old mime registration files
%{__rm} $RPM_BUILD_ROOT%{_datadir}/mime-info/cherrytree.*