forked from pool/gnote
Dominique Leuenberger
37e351a2f0
I'll take it this way and will clean up the .spec file a bit. Thanks for the transfer. OBS-URL: https://build.opensuse.org/request/show/56457 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnote?expand=0&rev=1
69 lines
1.7 KiB
RPMSpec
69 lines
1.7 KiB
RPMSpec
# norootforbuild
|
|
|
|
Name: gnote
|
|
Version: 0.7.3
|
|
Release: 1.0
|
|
License: GNU GPL v3 or later
|
|
Group: Productivity/Text/Editors
|
|
Url: http://live.gnome.org/Gnote
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: boost-devel >= 1.34
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gconf2-devel
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gtkmm2-devel >= 2.20
|
|
BuildRequires: gtkspell-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libpanelappletmm-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: pcre-devel
|
|
BuildRequires: update-desktop-files
|
|
%gconf_schemas_prereq
|
|
Summary: A Port of Tomboy to C++
|
|
|
|
%description
|
|
It is the same note taking application, including most of the add-ins (more are
|
|
to come). Synchronization support is being worked on.
|
|
|
|
%lang_package
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static --disable-schemas-install --disable-scrollkeeper --enable-dbus
|
|
V=1 %__make %{?_smp_mflags}
|
|
|
|
%install
|
|
%__make install DESTDIR=%{buildroot}
|
|
%suse_update_desktop_file gnote Utility DesktopUtility
|
|
%find_gconf_schemas
|
|
%find_lang %{name}
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%clean
|
|
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.schemas_list
|
|
%defattr(-,root,root)
|
|
%{_bindir}/gnote
|
|
%{_prefix}/lib/gnote-applet
|
|
%{_libdir}/bonobo/servers/GNOME_GnoteApplet.server
|
|
%{_libdir}/gnote
|
|
%{_datadir}/applications/gnote.desktop
|
|
%{_datadir}/gnote
|
|
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
|
%{_mandir}/man1/gnote.1*
|
|
|
|
%files lang -f %{name}.lang
|