[packages/kde4-kbounce] - used macro orgname

witekfl witekfl at pld-linux.org
Wed Dec 25 22:34:25 CET 2013


commit e9acff84306a258636f5927e2caf13cf90a4cc91
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Dec 25 22:33:55 2013 +0100

    - used macro orgname

 kde4-kbounce.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/kde4-kbounce.spec b/kde4-kbounce.spec
index 0751d60..bb98913 100644
--- a/kde4-kbounce.spec
+++ b/kde4-kbounce.spec
@@ -4,7 +4,7 @@
 
 Summary:	Claim areas and don't get disturbed
 Summary(pl.UTF-8):	Gra polegająca na pozyskiwaniu terenu wbrew przeciwnikom
-Name:		kde4-kbounce
+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-kbounce
+Obsoletes:	kde4-kdegames-%{orgname}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,7 +50,7 @@ touch $RPM_BUILD_ROOT/var/games/kbounce.scores
 # remove locolor icons
 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
 
-%find_lang kbounce	--with-kde
+%find_lang %{orgname}	--with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,7 +58,7 @@ rm -rf $RPM_BUILD_ROOT
 %post			-p /sbin/ldconfig
 %postun			-p /sbin/ldconfig
 
-%files -f kbounce.lang
+%files -f %{orgname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kbounce
 %{_desktopdir}/kde4/kbounce.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kbounce.git/commitdiff/e9acff84306a258636f5927e2caf13cf90a4cc91



More information about the pld-cvs-commit mailing list