diff --git a/.gitignore b/.gitignore index b9f51c7..44abaec 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -almanah-*.tar.xz +almanah-0.7.3.tar.gz +/almanah-0.8.0.tar.bz2 +/almanah-0.10.0.tar.xz +/almanah-0.10.1.tar.xz +/almanah-0.11.1.tar.xz diff --git a/almanah.spec b/almanah.spec index 38d82c6..fc5ed82 100644 --- a/almanah.spec +++ b/almanah.spec @@ -1,26 +1,33 @@ +%global majorVersion 0.11 +%global spellcheck 0 + Name: almanah -Version: 0.12.4 -Release: 4%{?dist} +Version: 0.11.1 +Release: 21%{?dist} Summary: Application for keeping an encrypted diary - -License: GPL-3.0-or-later -URL: https://wiki.gnome.org/Apps/Almanah_Diary -Source0: https://download.gnome.org/sources/almanah/0.12/almanah-%{version}.tar.xz - -BuildRequires: appstream +Group: Applications/Productivity +License: GPLv3+ +URL: http://tecnocode.co.uk/projects/almanah/ +Source0: http://ftp.gnome.org/pub/GNOME/sources/almanah/%{majorVersion}/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: gettext BuildRequires: gpgme-devel +BuildRequires: sqlite-devel +BuildRequires: gtk3-devel +# gtkspell still pulls in gtk2 +%if 0%{?spellcheck} +BuildRequires: gtkspell-devel +%endif +BuildRequires: intltool BuildRequires: desktop-file-utils -BuildRequires: meson -BuildRequires: pkgconfig(cryptui-0.0) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(gcr-4) -BuildRequires: pkgconfig(gtkspell3-3.0) -BuildRequires: pkgconfig(gtksourceview-4) -BuildRequires: pkgconfig(libecal-2.0) >= 3.45.1 -BuildRequires: pkgconfig(libedataserver-1.2) >= 3.45.1 -BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(libecal-1.2) +BuildRequires: pkgconfig(libedataserver-1.2) +%if 0%{fedora} <= 15 +BuildRequires: seahorse-devel +%else +BuildRequires: libcryptui-devel +%endif +BuildRequires: pkgconfig %description Almanah Diary is a small application to ease the management of an encrypted @@ -30,120 +37,45 @@ creation of diary entries related to them. At the same time, you can create diary entries using multiple events. %prep -%autosetup -p1 -S gendiff +%setup -q +sed -e 's/_//' \ + -e 's/=Diary/=Almanah/' \ + -i data/%{name}.desktop.in %build -%meson -%meson_build +CFLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64" %configure --enable-encryption \ +%if 0%{?spellchecking} +--enable-spell-checking +%else +--disable-spell-checking +%endif +make %{?_smp_mflags} %install -%meson_install +make install DESTDIR=%{buildroot} %find_lang %{name} + +%preun +if [ "$1" -eq 0 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : +fi + %files -f %{name}.lang -%license COPYING -%doc AUTHORS NEWS.md README.md +%doc AUTHORS COPYING NEWS README ChangeLog %{_bindir}/%{name} -%{_datadir}/icons/hicolor/*/apps/org.gnome.Almanah.png -%{_datadir}/icons/hicolor/scalable/actions/org.gnome.Almanah-tags-symbolic.svg -%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Almanah-symbolic.svg -%{_datadir}/applications/org.gnome.Almanah.desktop -%{_datadir}/metainfo/org.gnome.Almanah.metainfo.xml +%{_datadir}/%{name}/ +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_datadir}/icons/hicolor/*/actions/%{name}*.svg +%{_datadir}/applications/%{name}.desktop +%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/GConf/gsettings/%{name}.convert %{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml %changelog -* Fri Jan 16 2026 Fedora Release Engineering - 0.12.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Wed Jul 23 2025 Fedora Release Engineering - 0.12.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 0.12.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Jan 13 2025 Milan Crha - 0.12.4-1 -- Update to 0.12.4 - -* Wed Jul 17 2024 Fedora Release Engineering - 0.12.3-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 0.12.3-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 0.12.3-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 08 2024 Milan Crha - 0.12.3-9 -- Rebuilt for evolution-data-server soname bump - -* Wed Jul 19 2023 Fedora Release Engineering - 0.12.3-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon Jun 19 2023 Kalev Lember - 0.12.3-7 -- Rebuilt for gcr soname bump - -* Wed Jan 18 2023 Fedora Release Engineering - 0.12.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Jul 20 2022 Fedora Release Engineering - 0.12.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Jul 19 2022 Milan Crha - 0.12.3-4 -- Rebuilt for evolution-data-server soname bump -- Add patch to build with gcr4 -- Add patch to build with meson 0.61 - -* Wed Jan 19 2022 Fedora Release Engineering - 0.12.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.12.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon Mar 08 2021 Milan Crha - 0.12.3-1 -- Update to 0.12.3 - -* Fri Feb 12 2021 Milan Crha - 0.12.0-7 -- Rebuilt for evolution-data-server soname bump - -* Mon Jan 25 2021 Fedora Release Engineering - 0.12.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Fri Jul 31 2020 Fedora Release Engineering - 0.12.0-5 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.12.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 03 2020 Milan Crha - 0.12.0-3 -- Rebuilt for evolution-data-server soname bump - -* Tue Jan 28 2020 Fedora Release Engineering - 0.12.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Mon Oct 07 2019 Kalev Lember - 0.12.0-1 -- Update to 0.12.0 -- Switch to the meson build system -- Remove obsolete GConf schemas scriptlet -- Update source URLs -- Use license macro for COPYING - -* Wed Jul 24 2019 Fedora Release Engineering - 0.11.1-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue May 21 2019 Milan Crha - 0.11.1-25 -- Add patch to build against newer evolution-data-server (libecal-2.0) - -* Fri May 03 2019 Milan Crha - 0.11.1-24 -- Add patch for RH bug #1705678 (Remove Evolution runtime dependency) - -* Thu Jan 31 2019 Fedora Release Engineering - 0.11.1-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Nov 12 2018 Milan Crha - 0.11.1-22 -- Rebuilt for evolution-data-server soname bump - * Thu Jul 12 2018 Fedora Release Engineering - 0.11.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild @@ -285,13 +217,13 @@ diary entries using multiple events. * Mon Oct 4 2010 Bill Nottingham - 0.7.3-4 - Release bump and build to fix libedataserver broken dep -* Sat Jun 26 2010 Caolán McNamara - 0.7.3-3 +* Mon Jun 26 2010 Caolán McNamara - 0.7.3-3 - Release bump and build to fix libedataserver broken dep * Fri Jun 11 2010 Mike McGrath - 0.7.3-2 - Release bump and build to fix libedataserver broken dep -* Sat May 22 2010 Andreas Osowski - 0.7.3-1 +* Sun May 22 2010 Andreas Osowski - 0.7.3-1 - Update to 0.7.3 - Improved the UI appearance a little by adding some padding - Updated translations diff --git a/sources b/sources index 54a48ac..e0e478f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (almanah-0.12.4.tar.xz) = 717f3b4aa514be33c236bf0f32866902b0174c28d62ea4b48d1caec2a3a5a85f1105ef491386e336335c619f932a0faf654d047516bcfc81c1ef0ca7b15ef310 +6107d7becf94548170365f45f8d9dc69 almanah-0.11.1.tar.xz