SPECS: kbtsco.spec - 1.4.4 - path-patch
shadzik
shadzik at pld-linux.org
Sun Sep 17 16:59:54 CEST 2006
Author: shadzik Date: Sun Sep 17 14:59:54 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 1.4.4
- path-patch
---- Files affected:
SPECS:
kbtsco.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/kbtsco.spec
diff -u SPECS/kbtsco.spec:1.10 SPECS/kbtsco.spec:1.11
--- SPECS/kbtsco.spec:1.10 Sun Sep 17 15:54:56 2006
+++ SPECS/kbtsco.spec Sun Sep 17 16:59:49 2006
@@ -1,24 +1,23 @@
# $Revision$, $Date$
-%bcond_without kdialog # don't require kdialog on install
Summary: kbtsco is a kommander script that help connection with bluetooth headset
Summary(pl): kbtsco to skrypt kommandera, który pomaga łączyć zestaw słuchawkowy Bluetooth
Name: kbtsco
-Version: 1.4.3
-Release: 2
+Version: 1.4.4
+Release: 1
License: GPL
Group: X11/Applications
Source0: http://www.kde-apps.org/content/files/45427-%{name}.kmdr.tar.bz2
-# Source0-md5: 561697cf201fc3ad6177219c71bd4b1d
+# Source0-md5: 18d2ea8064561c568ab4d19c5ad6d6d6
Source1: %{name}.desktop
+Patch0: %{name}-path.patch
URL: http://www.kde-apps.org/content/show.php?content=45427
BuildRequires: rpmbuild(macros) >= 1.129
-BuildRequires: sed >= 4.0
Requires: bluez-hcidump
Requires: bluez-utils
Requires: btsco
Requires: kdewebdev-kommander
-%{?with_kdialog:Requires: kdebase-kdialog}
+Requires: kdebase-kdialog
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,7 +37,7 @@
%prep
%setup -q -c
-%{__sed} -i -e 's#/usr/local/bin/btsco#/usr/bin/btsco#g' kbtsco.kmdr
+%patch0 -p0
%install
rm -rf $RPM_BUILD_ROOT
@@ -49,12 +48,10 @@
cat > $RPM_BUILD_ROOT%{_bindir}/kbtsco <<EOF
#!/bin/sh
-%if %{with kdialog}
if [ ! -x %{_bindir}/kmdr-executor ]; then
exec %{_bindir}/kdialog --error "Package kdewebdev-kommander is missing.\nYou need to install it."
exit 0
fi
-%endif
exec %{_bindir}/kmdr-executor %{_datadir}/%{name}/%{name}.kmdr
EOF
@@ -75,6 +72,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2006/09/17 14:59:49 shadzik
+- 1.4.4
+- path-patch
+
Revision 1.10 2006/09/17 13:54:56 shadzik
- fix btsco binary location
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kbtsco.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list