diff --git a/palapeli-4.9.95.tar.xz b/palapeli-4.9.95.tar.xz deleted file mode 100644 index e184e12..0000000 --- a/palapeli-4.9.95.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4f0af1e8f12649331a180d0cdc00991f98ca752a0f63b46090f7eb109c67b38 -size 1732632 diff --git a/palapeli-4.9.97.tar.xz b/palapeli-4.9.97.tar.xz new file mode 100644 index 0000000..a7132de --- /dev/null +++ b/palapeli-4.9.97.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:499e53abe7c177b3deea16ab7ba65f592de98c89a5c59c19cc8dd70f86577e6e +size 1732692 diff --git a/palapeli.changes b/palapeli.changes index ae1a616..7a352d9 100644 --- a/palapeli.changes +++ b/palapeli.changes @@ -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 diff --git a/palapeli.spec b/palapeli.spec index e58f3b5..7411fa1 100644 --- a/palapeli.spec +++ b/palapeli.spec @@ -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/