[packages/kde4-bomber] - used macro orgname for easier copy-paste in the future
witekfl
witekfl at pld-linux.org
Wed Dec 25 22:30:26 CET 2013
commit 63ea7e82a4ab24a68e3345152678185a6995f371
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Dec 25 22:29:20 2013 +0100
- used macro orgname for easier copy-paste in the future
kde4-bomber.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/kde4-bomber.spec b/kde4-bomber.spec
index 87eb3bf..a8d14d2 100644
--- a/kde4-bomber.spec
+++ b/kde4-bomber.spec
@@ -3,7 +3,7 @@
%define qtver 4.8.0
Summary: bomber
-Name: kde4-bomber
+Name: kde4-%{orgname}
Version: 4.12.0
Release: 1
License: GPL
@@ -18,7 +18,7 @@ BuildRequires: kde4-libkdegames-devel >= %{version}
BuildRequires: qt4-build >= %{qtver}
BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.600
-Obsoletes: kde4-kdegames-bomber
+Obsoletes: kde4-kdegames-%{orgname}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,7 +46,7 @@ install -d $RPM_BUILD_ROOT/var/games
# remove locolor icons
rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
-%find_lang bomber --with-kde
+%find_lang %{orgname} --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files -f bomber.lang
+%files -f %{orgname}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/bomber
%{_desktopdir}/kde4/bomber.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-bomber.git/commitdiff/63ea7e82a4ab24a68e3345152678185a6995f371
More information about the pld-cvs-commit
mailing list