SPECS: kbtsco.spec - define _minorver (idea by sparky)

shadzik shadzik at pld-linux.org
Sat Oct 28 21:55:02 CEST 2006


Author: shadzik                      Date: Sat Oct 28 19:55:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- define _minorver (idea by sparky)

---- Files affected:
SPECS:
   kbtsco.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/kbtsco.spec
diff -u SPECS/kbtsco.spec:1.15 SPECS/kbtsco.spec:1.16
--- SPECS/kbtsco.spec:1.15	Sat Oct 28 18:13:43 2006
+++ SPECS/kbtsco.spec	Sat Oct 28 21:54:56 2006
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%define		_minorver	5
 Summary:	kbtsco - a kommander script that help connection with bluetooth headset
 Summary(pl):	kbtsco - skrypt kommandera pomagający podłączyć zestaw słuchawkowy Bluetooth
 Name:		kbtsco
@@ -6,7 +7,7 @@
 Release:	1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://www.kde-apps.org/content/files/45427-%{name}5.kmdr.tar.bz2
+Source0:	http://www.kde-apps.org/content/files/45427-%{name}%{_minorver}.kmdr.tar.bz2
 # Source0-md5:	958d630b9215ada2f4b555f552b89ebc
 Source1:	%{name}.desktop
 Patch0:		%{name}-path.patch
@@ -41,13 +42,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_bindir},%{_desktopdir}/kde}
-install kbtsco5.kmdr $RPM_BUILD_ROOT%{_datadir}/%{name}
+install %{name}%{_minorver}.kmdr $RPM_BUILD_ROOT%{_datadir}/%{name}
 install %SOURCE1 $RPM_BUILD_ROOT%{_desktopdir}/kde
 
 cat > $RPM_BUILD_ROOT%{_bindir}/kbtsco <<EOF
 #!/bin/sh
 
-exec %{_bindir}/kmdr-executor %{_datadir}/%{name}/%{name}5.kmdr
+exec %{_bindir}/kmdr-executor %{_datadir}/%{name}/%{name}%{_minorver}.kmdr
 EOF
 
 %clean
@@ -57,7 +58,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kbtsco
 %dir %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/kbtsco5.kmdr
+%attr(755,root,root) %{_datadir}/%{name}/%{name}%{_minorver}.kmdr
 %{_desktopdir}/kde/%{name}.desktop
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -66,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/10/28 19:54:56  shadzik
+- define _minorver (idea by sparky)
+
 Revision 1.15  2006/10/28 16:13:43  shadzik
 - up to 1.5 final
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kbtsco.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list