Pierre-Yves Luyten 0acd161
Name:		bijiben
Pierre-Yves Luyten 5397f75
Version:	3.8.4
Pierre-Yves Luyten 0b6c6b1
Release:	1%{?dist}
Pierre-Yves Luyten 0acd161
Summary:	Simple Note Viewer
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
# Bijiben is GPLv3+ apart a few files "LGPLv2 or LGPLv3"
Pierre-Yves Luyten 0acd161
# And ligd is LGPLv2+
Pierre-Yves Luyten 0acd161
License:	GPLv3+ and LGPLv3 and LGPLv2+
Pierre-Yves Luyten 0acd161
Url:		http://www.gnome.org
Pierre-Yves Luyten 0acd161
Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
BuildRequires:	clutter-gtk-devel >=  1.4.2
Pierre-Yves Luyten 0acd161
BuildRequires:	desktop-file-utils
Pierre-Yves Luyten 0acd161
BuildRequires:	intltool
Pierre-Yves Luyten 0acd161
BuildRequires:	itstool
Pierre-Yves Luyten 0acd161
BuildRequires:	gettext
Pierre-Yves Luyten 0acd161
BuildRequires:	glib2-devel >= 2.28.0
Pierre-Yves Luyten 0acd161
BuildRequires:	gtk3-devel >= 3.5.19
Pierre-Yves Luyten 0acd161
BuildRequires:	libuuid-devel
Pierre-Yves Luyten 0acd161
BuildRequires:	libxml2-devel
Pierre-Yves Luyten 0acd161
BuildRequires:	libzeitgeist-devel >= 0.3.18
Pierre-Yves Luyten 0acd161
BuildRequires:	tracker-devel => 0.15.2
Pierre-Yves Luyten 0acd161
BuildRequires:	webkitgtk3-devel >= 1.11.91
Pierre-Yves Luyten 0acd161
BuildRequires:	yelp-tools
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
# libgd is not meant to be installed as a system-wide shared library.
Pierre-Yves Luyten 0acd161
# It is just a way for GNOME applications to share widgets and other common
Pierre-Yves Luyten 0acd161
# code on an ad-hoc basis.
Pierre-Yves Luyten 0acd161
Provides: bundled(libgd)
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%description
Pierre-Yves Luyten 0acd161
Simple note editor which emphasis on visuals : quickly write
Pierre-Yves Luyten 0acd161
notes, quickly find it back.
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%prep
Pierre-Yves Luyten 0acd161
%setup -q
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%build
Pierre-Yves Luyten 0acd161
%configure \
Pierre-Yves Luyten 0acd161
	--disable-static
Pierre-Yves Luyten 0acd161
make %{?_smp_mflags}
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%install
Pierre-Yves Luyten 0acd161
make install DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p"
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
# Validates the .desktop
Pierre-Yves Luyten 0acd161
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
# Creates the file for all locales
Pierre-Yves Luyten 0acd161
%find_lang %{name} --with-gnome
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%post
Pierre-Yves Luyten 0acd161
/usr/bin/update-desktop-database &> /dev/null || :
Pierre-Yves Luyten 0acd161
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%postun
Pierre-Yves Luyten 0acd161
/usr/bin/update-desktop-database &> /dev/null || :
Pierre-Yves Luyten 0acd161
if [ $1 -eq 0 ] ; then
Pierre-Yves Luyten 0acd161
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Pierre-Yves Luyten 0acd161
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Pierre-Yves Luyten 0acd161
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
Pierre-Yves Luyten 0acd161
fi
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%posttrans
Pierre-Yves Luyten 0acd161
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
Pierre-Yves Luyten 0acd161
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%files -f %{name}.lang
Pierre-Yves Luyten 0acd161
%doc AUTHORS COPYING ChangeLog NEWS README
Pierre-Yves Luyten 0acd161
%{_bindir}/%{name}
Pierre-Yves Luyten 0acd161
%{_datadir}/applications/%{name}.desktop
Pierre-Yves Luyten 0acd161
%{_datadir}/glib-2.0/schemas/org.gnome.bijiben.gschema.xml
Pierre-Yves Luyten 0acd161
# co-own these directories
Pierre-Yves Luyten 0acd161
%dir %{_datadir}/gnome-shell
Pierre-Yves Luyten 0acd161
%dir %{_datadir}/gnome-shell/search-providers
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%{_datadir}/gnome-shell/search-providers/bijiben-search-provider.ini
Pierre-Yves Luyten 0acd161
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Pierre-Yves Luyten 0acd161
%{_datadir}/icons/hicolor/*/apps/%{name}.svg
Pierre-Yves Luyten 5397f75
%{_datadir}/icons/HighContrast/*/apps/%{name}.svg
Pierre-Yves Luyten 0acd161
%{_datadir}/%{name}
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%{_libexecdir}/%{name}-shell-search-provider
Pierre-Yves Luyten 0acd161
%{_datadir}/dbus-1/services/org.gnome.Bijiben.SearchProvider.service
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
%changelog
Pierre-Yves Luyten 5397f75
* Tue Aug 20 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.4-1
Pierre-Yves Luyten 5397f75
- Upgrade to 3.8.4
Pierre-Yves Luyten 5397f75
    Ship a HighContrast icon
Pierre-Yves Luyten 5397f75
    Make titlebar translatable
Pierre-Yves Luyten 5397f75
    Fix button arrows for rtl languages
Pierre-Yves Luyten 5397f75
Pierre-Yves Luyten 537ec89
* Thu Jun 20 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.3-1
Pierre-Yves Luyten 537ec89
- New release
Pierre-Yves Luyten 537ec89
Pierre-Yves Luyten 0b6c6b1
* Sun May 12 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.2-1
Pierre-Yves Luyten 0b6c6b1
- New release
Pierre-Yves Luyten 0b6c6b1
Pierre-Yves Luyten 0acd161
* Thu May 09 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.1-2
Pierre-Yves Luyten 0acd161
- Remove news duplicate, obsolete autoreconf and libgd.la exclude
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Thu Apr 18 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.1-1
Pierre-Yves Luyten 0acd161
- New release
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Wed Mar 27 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.8.0-1
Pierre-Yves Luyten 0acd161
- New release
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Mon Mar 18 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.92-1
Pierre-Yves Luyten 0acd161
- New release
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Fri Mar 15 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.91-3
Pierre-Yves Luyten 0acd161
- Fix icon update (timestamp) in post
Pierre-Yves Luyten 0acd161
- BuildRequire desktop-file-utils
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Wed Mar 13 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.91-2
Pierre-Yves Luyten 0acd161
- Patch to get rid of GPLv2+
Pierre-Yves Luyten 0acd161
- Patch to use static link to libgd
Pierre-Yves Luyten 0acd161
- Use find_lang
Pierre-Yves Luyten 0acd161
- Remove define for url_ver
Pierre-Yves Luyten 0acd161
- desktop-file-validate
Pierre-Yves Luyten 0acd161
- update timestamp for icons
Pierre-Yves Luyten 0acd161
- BuildRequire gettext
Pierre-Yves Luyten 0acd161
- BuildRequire yelp-tools
Pierre-Yves Luyten 0acd161
- Provides bundled libgd
Pierre-Yves Luyten 0acd161
- Don't "clean"
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Sun Mar 10 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.91-1
Pierre-Yves Luyten 0acd161
- Fix BuildRequires
Pierre-Yves Luyten 0acd161
- Update desktop database
Pierre-Yves Luyten 0acd161
- Add it
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Sun Feb 17 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.90-1
Pierre-Yves Luyten 0acd161
- Bump release
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Sat Feb 02 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.5-1
Pierre-Yves Luyten 0acd161
- Add cs.
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Mon Jan 14 2013 Pierre-Yves Luyten <py@luyten.fr> - 3.7.4-1
Pierre-Yves Luyten 0acd161
- Add ca pt zh. Remove upstreamed patch.
Pierre-Yves Luyten 0acd161
Pierre-Yves Luyten 0acd161
* Mon Dec 17 2012 Pierre-Yves Luyten <py@luyten.fr> - 3.7.3-1
Pierre-Yves Luyten 0acd161
- Initial package