SHA256
1
0
forked from pool/palapeli

Accepting request 147350 from KDE:Distro:Factory

Added update-mime-database %post/%postun scripts, Added /sbin/ldconfig in %post/%postun (fix for rpmlint errors) (forwarded request 147334 from adra)

OBS-URL: https://build.opensuse.org/request/show/147350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/palapeli?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-01-07 10:07:04 +00:00 committed by Git OBS Bridge
parent 31a14a543e
commit 2ae22b1ebc
4 changed files with 46 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4f0af1e8f12649331a180d0cdc00991f98ca752a0f63b46090f7eb109c67b38
size 1732632

3
palapeli-4.9.97.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:499e53abe7c177b3deea16ab7ba65f592de98c89a5c59c19cc8dd70f86577e6e
size 1732692

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Jan 6 17:59:21 UTC 2013 - asterios.dramis@gmail.com
- Added update-mime-database %post/%postun scripts for the mime file
installed by the package.
- Added /sbin/ldconfig in %post/%postun (fix for rpmlint errors).
-------------------------------------------------------------------
Thu Jan 3 21:53:26 UTC 2013 - tittiatcoke@gmail.com
- Update to 4.9.97
* This is the second RC release for 4.10. Contains bugfixes
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 19 19:17:21 UTC 2012 - tittiatcoke@gmail.com Wed Dec 19 19:17:21 UTC 2012 - tittiatcoke@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package palapeli # spec file for package palapeli
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,58 +17,73 @@
Name: palapeli Name: palapeli
BuildRequires: libkdegames-devel
BuildRequires: xz
Summary: Jigsaw puzzle game Summary: Jigsaw puzzle game
License: GPL-2.0+ License: GPL-2.0+
Group: Amusements/Games/Board/Puzzle Group: Amusements/Games/Board/Puzzle
Url: http://www.kde.org Url: http://www.kde.org
Version: 4.9.95 Version: 4.9.97
Release: 0 Release: 0
Source0: palapeli-%{version}.tar.xz Source0: palapeli-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkdegames-devel
BuildRequires: xz
Requires: palapeli-data = %{version} Requires: palapeli-data = %{version}
%kde4_runtime_requires %kde4_runtime_requires
Requires(post): shared-mime-info
Requires(postun): shared-mime-info
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Palapeli is a jigsaw puzzle game. Unlike other games in that genre, you are not limited to aligning pieces on imaginary grids. The pieces are freely moveable. Also, Palapeli features real persistency, i.e. everything you do is saved on your disk immediately Palapeli is a jigsaw puzzle game. Unlike other games in that genre, you are not
limited to aligning pieces on imaginary grids. The pieces are freely moveable.
Also, Palapeli features real persistency, i.e. everything you do is saved on
your disk immediately.
%package data %package data
Requires: palapeli = %{version}
Summary: Palapeli's standard puzzle files Summary: Palapeli's standard puzzle files
Group: System/GUI/KDE Group: System/GUI/KDE
Requires: palapeli = %{version}
BuildArch: noarch BuildArch: noarch
%description data %description data
This package contains the standard puzzle files for Palapeli. This package contains the standard puzzle files for Palapeli.
%package devel %package devel
Requires: palapeli = %{version}
Summary: Development package for Palapeli Summary: Development package for Palapeli
Group: Amusements/Games/Board/Puzzle Group: Development/Libraries/KDE
Requires: palapeli = %{version}
%description devel %description devel
This package contains the development files for Palapeli. This package contains the development files for Palapeli.
%prep %prep
%setup -q -n palapeli-%{version} %setup -q
%build %build
%cmake_kde4 -d build %cmake_kde4 -d build
%make_jobs %make_jobs
%install %install
cd build %kde4_makeinstall -C build
%kde4_makeinstall
%suse_update_desktop_file -r palapeli Game BoardGame %suse_update_desktop_file -r palapeli Game BoardGame
%kde_post_install %kde_post_install
%files %post
/sbin/ldconfig
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
/sbin/ldconfig
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING COPYING.DOC %doc COPYING COPYING.DOC
%{_kde4_bindir}/palapeli %{_kde4_bindir}/palapeli
%{_kde4_htmldir}/en/palapeli/ %{_kde4_htmldir}/en/palapeli/
%{_kde4_applicationsdir}/palapeli.desktop %{_kde4_applicationsdir}/palapeli.desktop
%dir %{_kde4_iconsdir}/hicolor/24x24
%dir %{_kde4_iconsdir}/hicolor/24x24/apps
%dir %{_kde4_iconsdir}/hicolor/24x24/mimetypes
%{_kde4_iconsdir}/hicolor/*/apps/palapeli.* %{_kde4_iconsdir}/hicolor/*/apps/palapeli.*
%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.* %{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-palapeli.*
%{_kde4_modulesdir}/palapeli_goldbergslicer.so %{_kde4_modulesdir}/palapeli_goldbergslicer.so
@ -91,8 +106,8 @@ This package contains the development files for Palapeli.
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
/usr/include/Pala/ %{_kde4_includedir}/Pala/
/usr/include/libpala/ %{_kde4_includedir}/libpala/
%{_kde4_libdir}/libpala.so %{_kde4_libdir}/libpala.so
%{_kde4_libdir}/libpala/ %{_kde4_libdir}/libpala/