File osmo.spec of Package osmo
#
# spec file for package osmo
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: osmo
Version: 0.4.4
Release: 0
Summary: Personal organizer with calendar, tasks manager and address book
License: GPL-2.0-or-later
Group: Productivity/Office/Organizers
URL: https://sourceforge.net/projects/osmo-pim
Source: https://downloads.sourceforge.net/project/osmo-pim/osmo-pim/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtkspell-2.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(webkit2gtk-4.0)
Recommends: %{name}-lang
%description
Osmo is a organizer (personal information manager - PIM), which
includes calendar, task manager and address book modules. It features
many hotkeys and user preference tunables. On the technical side, it
is a GTK based tool using an XML database for data storage.
%lang_package
%prep
%setup -q
%build
%configure --enable-reproducible
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file -i %{name}
%find_lang %{name}
%fdupes %{buildroot}/%{_datadir}
%files
%license COPYING
%doc README AUTHORS ChangeLog
%{_bindir}/osmo
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*
%{_datadir}/pixmaps/*
%{_datadir}/sounds/osmo
%{_mandir}/man1/*
%files lang -f %{name}.lang
%changelog