[packages/cherrytree] - init commit. Version: 0.99.29
mrozowik
mrozowik at pld-linux.org
Thu Jan 21 16:24:21 CET 2021
commit bb588342f178a28e7741d8edd7e75b9830042e8c
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Thu Jan 21 15:23:22 2021 +0000
- init commit. Version: 0.99.29
cherrytree.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
---
diff --git a/cherrytree.spec b/cherrytree.spec
new file mode 100644
index 0000000..ae19e33
--- /dev/null
+++ b/cherrytree.spec
@@ -0,0 +1,93 @@
+Summary: A hierarchical note taking application
+Summary(pl.UTF-8): Hierarchiczna aplikacja do robienia notatek
+Name: cherrytree
+Version: 0.99.29
+Release: 1
+License: GPL v3+
+Group: X11/Applications
+Source0: http://www.giuspen.com/software/%{name}_%{version}.tar.xz
+# Source0-md5: e8dd108f5a8aa81315f600c4e656265d
+URL: http://www.giuspen.com/cherrytree
+BuildRequires: curl-devel
+BuildRequires: gspell-devel
+BuildRequires: gtkmm3-devel
+BuildRequires: gtksourceviewmm3-devel
+BuildRequires: libfmt-devel
+BuildRequires: libxml++2-devel
+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
+file with extension ".ctd".
+
+%description -l pl.UTF-8
+Hierarchiczna aplikacja do notatek, wspierająca tekst sformatowany i
+wyróżnianie składni, przechowująca wszystkie dane (w tym obrazy) w
+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
+cd build
+%cmake .. \
+ -DMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF
+
+%{__make} cherrytree
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd build
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+cd ..
+
+## Remove old mime registration files
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/mime-info/cherrytree.*
+
+%find_lang %{name}
+
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+%update_mime_database
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+%update_mime_database
+
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc changelog.txt license.txt
+%attr(755,root,root) %{_bindir}/cherrytree
+%{_datadir}/metainfo/com.giuspen.cherrytree.metainfo.xml
+%{_desktopdir}/cherrytree.desktop
+%{_datadir}/cherrytree/
+%{_iconsdir}/hicolor/scalable/apps/cherrytree.svg
+%{_mandir}/man1/cherrytree.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cherrytree.git/commitdiff/bb588342f178a28e7741d8edd7e75b9830042e8c
More information about the pld-cvs-commit
mailing list