SPECS: tpctl.spec - rmoved uncommited patches - makefile patch - s...
havner
havner at pld-linux.org
Sun Aug 13 13:55:06 CEST 2006
Author: havner Date: Sun Aug 13 11:55:06 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rmoved uncommited patches
- makefile patch
- simplified/fixed
---- Files affected:
SPECS:
tpctl.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/tpctl.spec
diff -u SPECS/tpctl.spec:1.2 SPECS/tpctl.spec:1.3
--- SPECS/tpctl.spec:1.2 Sun Apr 16 10:28:42 2006
+++ SPECS/tpctl.spec Sun Aug 13 13:55:00 2006
@@ -9,8 +9,7 @@
Source0: http://dl.sourceforge.net/tpctl/%{name}_%{version}.tar.gz
# Source0-md5: 00d163c09b290b4cdc7488144f3f7faa
Source1: %{name}.apmiser.init
-Patch0: %{name}-rpm.patch
-Patch1: %{name}-optflags.patch
+Patch0: %{name}-makefile.patch
URL: http://tpctl.sourceforge.net/
BuildRequires: ncurses-ext-devel
ExclusiveArch: %{ix86}
@@ -41,16 +40,12 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
cp -p tpctlir/README README.tpctlir
%build
%{__make} all \
CC="%{__cc}" \
CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
-%{__make} -C tpctlir \
- CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
%install
rm -rf $RPM_BUILD_ROOT
@@ -63,12 +58,15 @@
PATH_SBIN=%{_sbindir}/
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apmiser
-install man/apmiser.8 tpctlir/tpctlir.8 $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+%banner -e %{name} << EOF
+You need to install kernel-misc-thinkpad for this package to work.
+EOF
%postun -p /sbin/ldconfig
%post -n apmiser
@@ -106,6 +104,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/08/13 11:55:00 havner
+- rmoved uncommited patches
+- makefile patch
+- simplified/fixed
+
Revision 1.2 2006/04/16 08:28:42 qboosh
- pl, some cleanups
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/tpctl.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list