Compare commits

...
Sign in to create a new pull request.

9 commits

6 changed files with 1 additions and 93 deletions

View file

@ -1 +0,0 @@
webattery-1.2.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: webattery
# $Id$
NAME := webattery
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

1
dead.package Normal file
View file

@ -0,0 +1 @@
This package has been blocked since F21.

View file

@ -1 +0,0 @@
webattery-1_2-6_fc10:HEAD:webattery-1.2-6.fc10.src.rpm:1265312477

View file

@ -1 +0,0 @@
e21dccd1930d09bacf1019c1cb9648d6 webattery-1.2.tar.gz

View file

@ -1,69 +0,0 @@
#Spec file of Webattery project for Fedora Distribution
Name: webattery
Version: 1.2
Release: 6%{?dist}
Summary: Command to display battery status
Group: Applications/System
License: GPLv3+
URL: http://webattery.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Webattery is a command line tool to display battery status with a cool battery
like output.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
rm -rf %{buildroot}%{_bindir}/batt
rm -rf %{buildroot}%{_mandir}/man1/batt.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README COPYING TODO
%{_mandir}/man1/webattery.1*
%{_bindir}/webattery
%changelog
* Mon Jan 24 2010 Alagunambi Welkin <alagunambiwelkin@gmail.com> - 1.2-6
- CFlags removed from make
- Make modified under install macro
- New version of source used
- TODO file added in doc
* Tue Jan 05 2010 Alagunambi Welkin <alagunambiwelkin@gmail.com> - 1.1-5
- Removed '.' from man location under install macro
- Previous change logs of spec file modified
* Thu Dec 30 2009 Alagunambi Welkin <alagunambiwelkin@gmail.com> - 1.1-4
- Build root tag added
- Build root cleaning added at install
* Thu Dec 24 2009 Alagunambi Welkin <alagunamniwelkin@gmail.com> - 1.1-3
- Llicense tag changed
- Removed compression type for man page under install macro
* Thu Dec 24 2009 Alagunambi Welkin <alagunambiwelkin@gmail.com> - 1.1-2
- removing 'buildroot' and batt, batt.1 removed by spec
* Wed Dec 23 2009 Alagunambi Welkin <alagunambiwelkin@gmail.com> - 1.1-1
- Initial package release