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:
parent
31a14a543e
commit
2ae22b1ebc
@ -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
3
palapeli-4.9.97.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:499e53abe7c177b3deea16ab7ba65f592de98c89a5c59c19cc8dd70f86577e6e
|
||||
size 1732692
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,58 +17,73 @@
|
||||
|
||||
|
||||
Name: palapeli
|
||||
BuildRequires: libkdegames-devel
|
||||
BuildRequires: xz
|
||||
Summary: Jigsaw puzzle game
|
||||
License: GPL-2.0+
|
||||
Group: Amusements/Games/Board/Puzzle
|
||||
Url: http://www.kde.org
|
||||
Version: 4.9.95
|
||||
Version: 4.9.97
|
||||
Release: 0
|
||||
Source0: palapeli-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libkdegames-devel
|
||||
BuildRequires: xz
|
||||
Requires: palapeli-data = %{version}
|
||||
%kde4_runtime_requires
|
||||
Requires(post): shared-mime-info
|
||||
Requires(postun): shared-mime-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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
|
||||
Requires: palapeli = %{version}
|
||||
Summary: Palapeli's standard puzzle files
|
||||
Group: System/GUI/KDE
|
||||
Requires: palapeli = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description data
|
||||
This package contains the standard puzzle files for Palapeli.
|
||||
|
||||
%package devel
|
||||
Requires: palapeli = %{version}
|
||||
Summary: Development package for Palapeli
|
||||
Group: Amusements/Games/Board/Puzzle
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: palapeli = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains the development files for Palapeli.
|
||||
|
||||
%prep
|
||||
%setup -q -n palapeli-%{version}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
cd build
|
||||
%kde4_makeinstall
|
||||
%kde4_makeinstall -C build
|
||||
%suse_update_desktop_file -r palapeli Game BoardGame
|
||||
%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)
|
||||
%doc COPYING COPYING.DOC
|
||||
%{_kde4_bindir}/palapeli
|
||||
%{_kde4_htmldir}/en/palapeli/
|
||||
%{_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/*/mimetypes/application-x-palapeli.*
|
||||
%{_kde4_modulesdir}/palapeli_goldbergslicer.so
|
||||
@ -91,8 +106,8 @@ This package contains the development files for Palapeli.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/usr/include/Pala/
|
||||
/usr/include/libpala/
|
||||
%{_kde4_includedir}/Pala/
|
||||
%{_kde4_includedir}/libpala/
|
||||
%{_kde4_libdir}/libpala.so
|
||||
%{_kde4_libdir}/libpala/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user