Accepting request 60963 from GNOME:Apps
Accepted submit request 60963 from user vuntz OBS-URL: https://build.opensuse.org/request/show/60963 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnote?expand=0&rev=3
This commit is contained in:
commit
160966580a
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 12 18:46:05 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Call relevant macros in %post/%postun:
|
||||||
|
+ %desktop_database_post/postun because the package ships at
|
||||||
|
least one desktop file.
|
||||||
|
+ %icon_theme_cache_post/postun because the package ships themed
|
||||||
|
icons.
|
||||||
|
- Pass %{?no_lang_C} to %find_lang so that english documentation
|
||||||
|
can be packaged with the program, and not in the lang subpackage.
|
||||||
|
- Add missing Recommends for lang subpackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 12 16:31:30 UTC 2010 - bitshuffler@opensuse.org
|
Sun Dec 12 16:31:30 UTC 2010 - bitshuffler@opensuse.org
|
||||||
|
|
||||||
|
36
gnote.spec
36
gnote.spec
@ -22,10 +22,10 @@ Name: gnote
|
|||||||
Version: 0.7.3
|
Version: 0.7.3
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GNU GPL v3 or later
|
License: GNU GPL v3 or later
|
||||||
|
Summary: A Port of Tomboy to C++
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Url: http://live.gnome.org/Gnote
|
Url: http://live.gnome.org/Gnote
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: boost-devel >= 1.34
|
BuildRequires: boost-devel >= 1.34
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -40,15 +40,14 @@ BuildRequires: libxml2-devel
|
|||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
|
Recommends: %{name}-lang
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%gconf_schemas_prereq
|
%gconf_schemas_prereq
|
||||||
Summary: A Port of Tomboy to C++
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
It is the same note taking application, including most of the add-ins (more are
|
It is the same note taking application, including most of the add-ins (more are
|
||||||
to come). Synchronization support is being worked on.
|
to come). Synchronization support is being worked on.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -61,7 +60,10 @@ V=1 %__make %{?_smp_mflags}
|
|||||||
%__make install DESTDIR=%{buildroot}
|
%__make install DESTDIR=%{buildroot}
|
||||||
%suse_update_desktop_file gnote Utility DesktopUtility
|
%suse_update_desktop_file gnote Utility DesktopUtility
|
||||||
%find_gconf_schemas
|
%find_gconf_schemas
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||||
|
|
||||||
%pre -f %{name}.schemas_pre
|
%pre -f %{name}.schemas_pre
|
||||||
|
|
||||||
@ -69,17 +71,33 @@ V=1 %__make %{?_smp_mflags}
|
|||||||
|
|
||||||
%posttrans -f %{name}.schemas_posttrans
|
%posttrans -f %{name}.schemas_posttrans
|
||||||
|
|
||||||
%clean
|
%if 0%{?suse_version} > 1130
|
||||||
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
%icon_theme_cache_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f %{name}.schemas_list
|
%files -f %{name}.schemas_list
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gnome/
|
||||||
|
%dir %{_datadir}/gnome/help/
|
||||||
|
%dir %{_datadir}/gnome/help/%{name}/
|
||||||
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
||||||
|
%dir %{_datadir}/omf/
|
||||||
|
%dir %{_datadir}/omf/%{name}/
|
||||||
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
||||||
%{_bindir}/gnote
|
%{_bindir}/gnote
|
||||||
%{_prefix}/lib/gnote-applet
|
%{_prefix}/lib/gnote-applet
|
||||||
%{_libdir}/bonobo/servers/GNOME_GnoteApplet.server
|
%{_libdir}/bonobo/servers/GNOME_GnoteApplet.server
|
||||||
%{_libdir}/gnote
|
%{_libdir}/gnote/
|
||||||
%{_datadir}/applications/gnote.desktop
|
%{_datadir}/applications/gnote.desktop
|
||||||
%{_datadir}/gnote
|
%{_datadir}/gnote/
|
||||||
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
||||||
%{_mandir}/man1/gnote.1*
|
%{_mandir}/man1/gnote.1*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user