File ignuit.spec of Package ignuit

# spec file for package ignuit
# Copyright (c) 2017 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

Name:           ignuit
Version:        2.24.3
Release:        0
Summary:        Flashcard learning system
License:        GPL-3.0+ and GPL-2.0
Group:          Amusements/Teaching/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 1500
BuildRequires:  update-desktop-files
BuildRequires:  intltool >= 0.50.0
BuildRequires:  pkgconfig(gconf-2.0)  >= 3.2.6
BuildRequires:  pkgconfig(gnome-doc-utils) >= 0.3.2
BuildRequires:  pkgconfig(gstreamer-1.0) >= 1.8.2
BuildRequires:  pkgconfig(libglade-2.0) >= 2.6.4
BuildRequires:  pkgconfig(libgnomeui-2.0) >= 2.24.5
BuildRequires:  pkgconfig(libxslt) >= 1.1.28
PreReq:         %install_info_prereq

Ignuit is a memorization aid based on the Leitner flashcard system.
It has a GNOME look and feel, a good selection of quiz options,
and supports UTF-8. It can be used for both long-term learning
and cramming. Ignuit can import and export several file formats,
including CSV.

%setup -q

%configure --disable-scrollkeeper
make %{?_smp_mflags}


%find_lang %{name}
cat %{name}.lang %{name}.schemas_list >%{name}.lst

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%if 0%{?suse_version} < 1500

%preun -f %{name}.schemas_preun

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%if 0%{?suse_version} < 1500

%files -f %{name}.lst
%defattr(-, root, root)
%dir %{_datadir}/gnome/help/%{name}
%dir %{_datadir}/gnome/help/%{name}/C
%dir %{_datadir}/gnome/help/%{name}/C/figures
%dir %{_datadir}/omf
%dir %{_datadir}/omf/%{name}
%doc %{_datadir}/gnome/help/%{name}/C/*.xml
%doc %{_datadir}/gnome/help/%{name}/C/figures/*.png
%dir %{_datadir}/appdata/