Compare commits

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

3 commits

Author SHA1 Message Date
Fedora Release Engineering
22a0ec5a66 dist-git conversion 2010-07-29 15:14:22 +00:00
Alagunambi Welkin
55b7ce285b *** empty log message *** 2010-02-04 14:32:57 +00:00
d9edb66ec8 Initialize branch F-11 for webattery 2010-01-31 19:18:29 +00:00
4 changed files with 70 additions and 21 deletions

View file

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)

View file

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

69
webattery.spec Normal file
View file

@ -0,0 +1,69 @@
#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