2013-03-13 20:53:49 +01:00
|
|
|
#
|
2013-04-19 11:39:02 +02:00
|
|
|
# spec file for package bijiben
|
2013-03-13 20:53:49 +01:00
|
|
|
#
|
2018-02-24 14:24:33 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-03-13 20:53:49 +01:00
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-04-19 11:39:02 +02:00
|
|
|
|
2014-04-14 09:51:56 +02:00
|
|
|
%define with_zeitgeist 0
|
|
|
|
|
2013-03-13 20:53:49 +01:00
|
|
|
Name: bijiben
|
2017-11-02 14:55:28 +01:00
|
|
|
Version: 3.26.2
|
2013-03-13 20:53:49 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Note editor for GNOME
|
2013-04-19 11:39:02 +02:00
|
|
|
License: GPL-3.0+ and CC-BY-SA-3.0
|
2013-03-13 20:53:49 +01:00
|
|
|
Group: Productivity/Text/Editors
|
2013-04-19 11:39:02 +02:00
|
|
|
Url: https://live.gnome.org/Bijiben
|
2017-09-12 13:04:24 +02:00
|
|
|
Source: http://download.gnome.org/sources/bijiben/3.26/%{name}-%{version}.tar.xz
|
2015-03-19 15:36:10 +01:00
|
|
|
BuildRequires: intltool >= 0.50.1
|
2013-03-13 20:53:49 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: yelp-tools
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
2013-06-23 16:12:01 +02:00
|
|
|
BuildRequires: pkgconfig(goa-1.0)
|
2013-05-28 18:08:20 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2014-04-03 22:31:23 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.4
|
2014-08-23 13:51:18 +02:00
|
|
|
BuildRequires: pkgconfig(libecal-1.2)
|
2015-03-19 15:36:10 +01:00
|
|
|
BuildRequires: pkgconfig(libecal-1.2) >= 3.13.90
|
|
|
|
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.13.90
|
2013-03-13 20:53:49 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2017-08-31 09:46:03 +02:00
|
|
|
BuildRequires: pkgconfig(tracker-sparql-2.0)
|
2013-03-13 20:53:49 +01:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
2017-06-07 15:34:35 +02:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.10.0
|
2014-04-14 09:51:56 +02:00
|
|
|
%if %{with_zeitgeist}
|
2013-07-10 22:31:00 +02:00
|
|
|
BuildRequires: pkgconfig(zeitgeist-2.0)
|
2014-04-14 09:51:56 +02:00
|
|
|
%endif
|
2016-01-27 10:43:21 +01:00
|
|
|
Recommends: %{name}-lang
|
2013-03-13 20:53:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bijiben is a note editor designed to remain simple to use.
|
|
|
|
|
|
|
|
%package -n gnome-shell-search-provider-%{name}
|
|
|
|
Summary: Note editor for GNOME -- Search Provider for GNOME Shell
|
2013-04-19 11:39:02 +02:00
|
|
|
License: GPL-3.0+
|
2013-03-13 20:53:49 +01:00
|
|
|
Group: Productivity/Office/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gnome-shell
|
|
|
|
Supplements: packageand(%{name}:gnome-shell)
|
|
|
|
|
|
|
|
%description -n gnome-shell-search-provider-%{name}
|
|
|
|
Bijiben is a note editor designed to remain simple to use.
|
|
|
|
|
|
|
|
This package contains a search provider to enable GNOME Shell to get
|
|
|
|
search results from documents.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2013-07-31 20:57:55 +02:00
|
|
|
--disable-static \
|
2017-08-31 09:46:03 +02:00
|
|
|
--disable-update-mimedb \
|
2018-02-24 14:24:33 +01:00
|
|
|
--disable-Werror \
|
2017-08-31 09:46:03 +02:00
|
|
|
%{nil}
|
2013-03-13 20:53:49 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2017-11-02 14:55:28 +01:00
|
|
|
if [ -f %{buildroot}%{_datadir}/metainfo/org.gnome.bijiben.appdata.xml ]; then
|
|
|
|
rm -r %{buildroot}%{_datadir}/appdata/
|
|
|
|
fi
|
2013-03-13 20:53:49 +01:00
|
|
|
find %{buildroot} -type f -name '*.la' -delete -print
|
2016-02-19 15:31:42 +01:00
|
|
|
%suse_update_desktop_file org.gnome.bijiben DesktopUtility
|
2013-03-13 20:53:49 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
|
|
%{_bindir}/%{name}
|
2016-02-19 15:31:42 +01:00
|
|
|
%{_datadir}/applications/org.gnome.bijiben.desktop
|
2013-03-13 20:53:49 +01:00
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
|
2016-02-19 15:31:42 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.bijiben*
|
|
|
|
%{_datadir}/mime/packages/org.gnome.bijiben.xml
|
2017-11-02 14:55:28 +01:00
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/org.gnome.bijiben.appdata.xml
|
2013-03-13 20:53:49 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files -n gnome-shell-search-provider-%{name}
|
|
|
|
%defattr(-,root,root)
|
2016-02-19 15:31:42 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.bijiben.SearchProvider.service
|
2013-03-13 20:53:49 +01:00
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
2016-02-19 15:31:42 +01:00
|
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.bijiben-search-provider.ini
|
2013-03-13 20:53:49 +01:00
|
|
|
%{_libexecdir}/%{name}-shell-search-provider
|
|
|
|
|
|
|
|
%changelog
|