]> git.pld-linux.org Git - packages/almanah.git/blame - almanah.spec
- updated to 0.12.0 (support for evolution 3.33+; uses meson now)
[packages/almanah.git] / almanah.spec
CommitLineData
a0246318
JB
1#
2# Conditional build:
3%bcond_without evolution # Evolution calendar integration
4%bcond_without gtkspell # GtkSpell spell checking
5
854bc1f4
JB
6Summary: Almanah Diary - keep a personal diary
7Summary(pl.UTF-8): Almanah Diary - osobisty pamiętnik
8Name: almanah
a0246318
JB
9Version: 0.12.0
10Release: 1
854bc1f4
JB
11License: GPL v3+
12Group: X11/Applications
a0246318
JB
13Source0: http://ftp.gnome.org/pub/GNOME/sources/almanah/0.12/%{name}-%{version}.tar.xz
14# Source0-md5: 7fdd097948a82bb40a6096f86e3ebac3
854bc1f4 15URL: https://wiki.gnome.org/Apps/Almanah_Diary
a0246318 16BuildRequires: appstream-glib
854bc1f4 17BuildRequires: atk-devel
854bc1f4 18BuildRequires: cairo-devel
a0246318 19%{?with_evolution:BuildRequires: evolution-data-server-devel >= 3.33.2}
854bc1f4 20BuildRequires: gettext-tools
a0246318
JB
21BuildRequires: gcr-devel >= 3
22BuildRequires: glib2-devel >= 1:2.32
854bc1f4 23BuildRequires: gpgme-devel >= 1.0.0
a0246318
JB
24BuildRequires: gtk+3-devel >= 3.15
25BuildRequires: gtksourceview3-devel >= 3.0
26%{?with_gtkspell:BuildRequires: gtkspell3-devel >= 3.0}
854bc1f4 27BuildRequires: libcryptui-devel
a0246318
JB
28BuildRequires: meson >= 0.47
29BuildRequires: ninja >= 1.5
854bc1f4 30BuildRequires: pkgconfig
a0246318
JB
31BuildRequires: python3 >= 1:3
32BuildRequires: rpmbuild(macros) >= 1.736
854bc1f4
JB
33BuildRequires: sqlite3-devel >= 3
34BuildRequires: tar >= 1:1.22
35BuildRequires: xz
36Requires(post,postun): gtk-update-icon-cache
a0246318
JB
37Requires(post,postun): glib2 >= 1:2.32
38%{?with_evolution:Requires: evolution-data-server >= 3.33.2}
39Requires: glib2 >= 1:2.32
854bc1f4 40Requires: gpgme >= 1.0.0
a0246318 41Requires: gtk+3 >= 3.15
854bc1f4
JB
42Requires: hicolor-icon-theme
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
46Almanah is a small GTK+ application to allow you to keep a diary of
47your life.
48
49%description -l pl.UTF-8
50Almanah to mała aplikacja GTK+ pozwalająca prowadzić własny
51pamiętnik.
52
53%prep
54%setup -q
55
56%build
a0246318
JB
57%meson build \
58 %{!?with_evolution:-Devolution=false} \
59 %{!?with_gtkspell:-Dspell_checking=false}
854bc1f4 60
a0246318 61%ninja_build -C build
854bc1f4
JB
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
a0246318 66%ninja_install -C build
854bc1f4
JB
67
68%find_lang %{name}
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
74%glib_compile_schemas
75%update_icon_cache hicolor
76
77%postun
78%glib_compile_schemas
79%update_icon_cache hicolor
80
81%files -f %{name}.lang
82%defattr(644,root,root,755)
a0246318 83%doc AUTHORS MAINTAINERS NEWS README.md
854bc1f4
JB
84%attr(755,root,root) %{_bindir}/almanah
85%{_datadir}/GConf/gsettings/almanah.convert
854bc1f4 86%{_datadir}/glib-2.0/schemas/org.gnome.almanah.gschema.xml
a0246318 87%{_datadir}/metainfo/almanah.appdata.xml
854bc1f4
JB
88%{_desktopdir}/almanah.desktop
89%{_iconsdir}/hicolor/*x*/apps/almanah.png
90%{_iconsdir}/hicolor/scalable/actions/almanah-tags-symbolic.svg
a0246318 91%{_iconsdir}/hicolor/scalable/apps/almanah-symbolic.svg
This page took 0.086887 seconds and 4 git commands to generate.