LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File meego-help.spec of Package meego-help (Project Meego:Netbook:1.1)

#norootforbuild

Name:       meego-help
Summary:    MeeGo Help
Version:    0.0.2
Release:    1
Group:      System/GUI/MeeGo
License:    LGPL 2.1
URL:        http://www.meego.com
Source0:    %{name}-%{version}.tar.bz2
Source1:	netbook-logo-icon.png
# PATCH-FIX-UPSTREAM meego-help-desktop.patch - awafaa@opensuse.org Use the correct icon in the .desktop file
Patch0:		meego-help-desktop.patch
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
BuildRequires:  pkgconfig(glib-2.0) >= 2.14
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  intltool
BuildRequires:  gettext
BuildRequires:  gnome-common
BuildRequires:  desktop-file-utils
BuildRequires:  update-desktop-files

%description
MeeGo help documentation


%prep
%setup -q
%patch0 -p1

%build

%configure --disable-static
make %{?jobs:-j%jobs}

%install
%make_install
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/netbook-logo-icon.png
desktop-file-install --delete-original       \
  --dir %{buildroot}%{_datadir}/applications             \
   %{buildroot}%{_datadir}/applications/*
%suse_update_desktop_file -r %{name} GNOME GTK Core Documentation 

%post
update-desktop-database %{_datadir}/applications &> /dev/null || :

%postun
update-desktop-database %{_datadir}/applications &> /dev/null || :


%files
%defattr(-,root,root,-)
%doc COPYING
%dir %{_datadir}/meego-help
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/48x48/apps
%{_datadir}/meego-help/*
%{_datadir}/applications/meego-help.desktop
%{_bindir}/meego-help
%{_datadir}/icons/hicolor/48x48/apps/netbook-logo-icon.png

%changelog
* Thu May 13 2010 Rob Bradford <rob@linux.intel.com> - 0.0.2
- Update to real URLs and local content
* Thu May 13 2010 Rob Bradford <rob@linux.intel.com> - 0.0.1
- Initial packaging of new help (BMC#2010)