[packages/kde4-granatier] - orgname and other fixes
witekfl
witekfl at pld-linux.org
Wed Dec 25 22:45:08 CET 2013
commit 6501ed23af525202db224da5eef99c1bf35a53a0
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Dec 25 22:44:43 2013 +0100
- orgname and other fixes
kde4-granatier.spec | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/kde4-granatier.spec b/kde4-granatier.spec
index 3d66134..6bfe24c 100644
--- a/kde4-granatier.spec
+++ b/kde4-granatier.spec
@@ -2,13 +2,12 @@
%define orgname granatier
%define qtver 4.8.0
-Summary: bomber
-Name: kde4-granatier
+Summary: Granatier
+Name: kde4-%{orgname}
Version: 4.12.0
Release: 1
License: GPL
Group: X11/Applications/Games
-Group: X11/Applications/Games
Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
# Source0-md5: ff07a4b61fb74d8bf94b1884d4e455b6
BuildRequires: automoc4 >= 0.9.88
@@ -18,7 +17,7 @@ BuildRequires: kde4-libkdegames-devel >= %{version}
BuildRequires: qt4-build >= %{qtver}
BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.600
-Obsoletes: kde4-kdegames-granatier
+Obsoletes: kde4-kdegames-%{orgname}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,7 +45,7 @@ install -d $RPM_BUILD_ROOT/var/games
# remove locolor icons
rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
-%find_lang granatier --with-kde
+%find_lang %{orgname} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files -f granatier.lang
+%files -f %{orgname}.lang
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/granatier
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-granatier.git/commitdiff/6501ed23af525202db224da5eef99c1bf35a53a0
More information about the pld-cvs-commit
mailing list