]> git.pld-linux.org Git - packages/cherrytree.git/commitdiff
Cleanup whitespace, dead code. Pldize auto/th/cherrytree-0.99.29-1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Jan 2021 09:00:11 +0000 (11:00 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Jan 2021 09:00:11 +0000 (11:00 +0200)
cherrytree.spec

index ae19e338162c75af48438ad6a3c81c369c195990..73776714ba2ddd4a9b190d7ce55ddd5d6f2f1ae4 100644 (file)
@@ -5,9 +5,9 @@ Version:        0.99.29
 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
@@ -18,18 +18,15 @@ BuildRequires:      rpmbuild(macros) >= 1.596
 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
@@ -42,10 +39,9 @@ jednym pliku XML z rozszerzeniem „.ctd”.
 
 %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 \
@@ -55,11 +51,8 @@ cd build
 
 %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.*
This page took 0.575688 seconds and 4 git commands to generate.