[packages/kde4-kblackbox] - used macro orgname

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


commit 3ab9a6d59be4246a7b47b0e932edf29e7d22033c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Dec 25 22:37:48 2013 +0100

    - used macro orgname

 kde4-kblackbox.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/kde4-kblackbox.spec b/kde4-kblackbox.spec
index 09aabb1..732f353 100644
--- a/kde4-kblackbox.spec
+++ b/kde4-kblackbox.spec
@@ -5,7 +5,7 @@
 Summary:	A little logical game for KDE
 Summary(pl.UTF-8):	Prosta gra logiczna
 Summary(pt_BR.UTF-8):	Versão do jogo Blackbox do Emacs para KDE
-Name:		kde4-kblackbox
+Name:		kde4-%{orgname}
 Version:	4.12.0
 Release:	1
 License:	GPL
@@ -19,7 +19,7 @@ BuildRequires:	kde4-libkdegames-devel >= %{version}
 BuildRequires:	qt4-build >= %{qtver}
 BuildRequires:	qt4-qmake >= %{qtver}
 BuildRequires:	rpmbuild(macros) >= 1.600
-Obsoletes:	kde4-kdegames-kblackbox
+Obsoletes:	kde4-kdegames-%{orgname}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,7 +63,7 @@ install -d $RPM_BUILD_ROOT/var/games
 # remove locolor icons
 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
 
-%find_lang kblackbox	--with-kde
+%find_lang %{orgname}	--with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -71,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 %post			-p /sbin/ldconfig
 %postun			-p /sbin/ldconfig
 
-%files -f kblackbox.lang
+%files -f %{orgname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kblackbox
 %{_desktopdir}/kde4/kblackbox.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kblackbox.git/commitdiff/3ab9a6d59be4246a7b47b0e932edf29e7d22033c



More information about the pld-cvs-commit mailing list