Accepting request 147347 from KDE:Distro:Factory
Added update-mime-database %post/%postun scripts (forwarded request 147331 from adra) OBS-URL: https://build.opensuse.org/request/show/147347 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kpat?expand=0&rev=3
This commit is contained in:
parent
419c229df7
commit
7f644b76d2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d2744238302cccb38929661e96ba55589cc1bc81e0251d5927dc0840a69b6780
|
|
||||||
size 3089052
|
|
3
kpat-4.9.97.tar.xz
Normal file
3
kpat-4.9.97.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c5258b216172482bd7b8c446633f32c284970344da18348e897dc2d5acc31070
|
||||||
|
size 3089164
|
12
kpat.changes
12
kpat.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 5 18:32:08 UTC 2013 - asterios.dramis@gmail.com
|
||||||
|
|
||||||
|
- Added update-mime-database %post/%postun scripts for the mime file
|
||||||
|
installed by the package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 3 21:50:41 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:15:06 UTC 2012 - tittiatcoke@gmail.com
|
Wed Dec 19 19:15:06 UTC 2012 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
25
kpat.spec
25
kpat.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kpat
|
# spec file for package kpat
|
||||||
#
|
#
|
||||||
# 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,15 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: kpat
|
Name: kpat
|
||||||
BuildRequires: libkdegames-devel
|
|
||||||
BuildRequires: xz
|
|
||||||
Summary: Patience card game
|
Summary: Patience card game
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Amusements/Games/Board/Card
|
Group: Amusements/Games/Board/Card
|
||||||
Url: http://www.kde.org
|
Url: http://www.kde.org
|
||||||
Version: 4.9.95
|
Version: 4.9.97
|
||||||
Release: 0
|
Release: 0
|
||||||
Source0: kpat-%{version}.tar.xz
|
Source0: kpat-%{version}.tar.xz
|
||||||
|
BuildRequires: libkdegames-devel
|
||||||
|
BuildRequires: xz
|
||||||
|
Requires(post): shared-mime-info
|
||||||
|
Requires(postun): shared-mime-info
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%kde4_runtime_requires
|
%kde4_runtime_requires
|
||||||
|
|
||||||
@ -35,24 +37,33 @@ world. It includes Klondike, Freecell, Yukon, Forty and Eight and many
|
|||||||
more. The game has nice graphics and many different carddecks.
|
more. The game has nice graphics and many different carddecks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n kpat-%{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 kpat Game CardGame
|
%suse_update_desktop_file -r kpat Game CardGame
|
||||||
%kde_post_install
|
%kde_post_install
|
||||||
|
|
||||||
|
%post
|
||||||
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING COPYING.DOC
|
%doc COPYING COPYING.DOC
|
||||||
%{_kde4_bindir}/kpat
|
%{_kde4_bindir}/kpat
|
||||||
%{_kde4_htmldir}/en/kpat/
|
%{_kde4_htmldir}/en/kpat/
|
||||||
%{_kde4_applicationsdir}/kpat.desktop
|
%{_kde4_applicationsdir}/kpat.desktop
|
||||||
|
%dir %{_kde4_iconsdir}/hicolor/24x24
|
||||||
|
%dir %{_kde4_iconsdir}/hicolor/24x24/apps
|
||||||
|
%dir %{_kde4_iconsdir}/hicolor/256x256
|
||||||
|
%dir %{_kde4_iconsdir}/hicolor/256x256/apps
|
||||||
%{_kde4_iconsdir}/hicolor/*/apps/kpat.*
|
%{_kde4_iconsdir}/hicolor/*/apps/kpat.*
|
||||||
%{_kde4_appsdir}/kpat/
|
%{_kde4_appsdir}/kpat/
|
||||||
%{_kde4_libdir}/libkcardgame.so
|
%{_kde4_libdir}/libkcardgame.so
|
||||||
|
Loading…
Reference in New Issue
Block a user