SPECS: kpowersave.spec - en - template junk removed - restored cha...

glen glen at pld-linux.org
Fri Feb 17 00:39:52 CET 2006


Author: glen                         Date: Thu Feb 16 23:39:52 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- en
- template junk removed
- restored changelog

---- Files affected:
SPECS:
   kpowersave.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/kpowersave.spec
diff -u SPECS/kpowersave.spec:1.1 SPECS/kpowersave.spec:1.2
--- SPECS/kpowersave.spec:1.1	Thu Feb 16 22:49:05 2006
+++ SPECS/kpowersave.spec	Fri Feb 17 00:39:45 2006
@@ -8,9 +8,10 @@
 # - make a devel build
 # - investigate the strange Make.common file
 # - find a way to make it run in priviladged mode without sudo
-#   (maby some group of permissions for people who are allowed to change
+#   (maybe some group of permissions for people who are allowed to change
 #   the cpufreq and so on)
 # - investigate the BR and R
+# - use kdepackage-template.spec as base
 # Conditional build:
 %bcond_with	tests		# build with tests
 %bcond_without	tests		# build without tests
@@ -21,26 +22,10 @@
 Version:	0.5.7
 Release:	0.1
 License:	- (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
-#Vendor:		-
 Group:		Applications
-#Icon:		-
 Source0:	http://dl.sourceforge.net/powersave/%{name}-%{version}.tar.bz2
 # Source0-md5:	119c42dc5ef1aac07f9be436e845db92
 URL:		http://powersave.sourceforge.net
-#BuildRequires:	autoconf
-#BuildRequires:	automake
-#BuildRequires:	libtool
-#BuildRequires:	-
-#PreReq:		-
-#Requires(pre,post):	-
-#Requires(preun):	-
-#Requires(postun):	-
-#Requires:	-
-#Provides:	-
-#Obsoletes:	-
-#Conflicts:	-
-#BuildArch:	noarch
-#ExclusiveArch:  %{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,55 +34,17 @@
 %description -l pl
 Cokolwiek
 
-#%package subpackage
-#Summary:	-
-#Summary(pl):	-
-#Group:		-
-
-#%description subpackage
-
-#%description subpackage -l pl
-
-#%if 0
-#%package devel
-#Summary:	Development libraries and header files for termcap library
-#Group:		Development/Libraries
-
-#%description devel
-#This is the package containing the development libaries and header
-#files for ...
-
-#%package static
-#Summary:	Static ... library
-#Group:		Development/Libraries
-#Requires:	%{name}-devel = %{version}
-
-#%description static
-#Static ... library.
-#%endif
-
 %prep
-%setup -q -n %{name}-%{version}
-#%patch0 -p1
+%setup -q
 
 %build
-# if ac/am/* rebuilding is necessary, do it in this order and add
-# appropriate BuildRequires
-#%%{__gettextize}
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
-#cp -f /usr/share/automake/config.sub .
+cp -f /usr/share/automake/config.sub admin
 %{__make} -f admin/Makefile.common cvs
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -105,37 +52,21 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-
-%post
-#%post	-p /sbin/ldconfig
-
-%preun
-
-%postun
-#%postun	-p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
 %{_libdir}/*
 %{_datadir}/*
 
-# if _sysconfdir != /etc:
-#%%dir %{_sysconfdir}
-#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-
-#%attr(755,root,root) %{_bindir}/*
-
-#%{_datadir}/%{name}
-
-# initscript and its config
-#%attr(754,root,root) /etc/rc.d/init.d/%{name}
-#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-
-#%files subpackage
-#%defattr(644,root,root,755)
-#%doc extras/*.gz
-#%{_datadir}/%{name}-ext
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2  2006/02/16 23:39:45  glen
+- en
+- template junk removed
+- restored changelog
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kpowersave.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list