Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
64957e4f22 dist-git conversion 2010-07-29 15:15:53 +00:00
Bill Nottingham
1950577399 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:16:25 +00:00
581a6edf02 Importing wf. 2008-01-21 07:40:38 +00:00
fd5d11129f Initialize branch F-8 for wf 2008-01-20 18:39:35 +00:00
5 changed files with 43 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
wf-0.41.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: wf
# $Id$
NAME := wf
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 $$/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 @@
2506603e8eafe0fab0c8e809b984d834 wf-0.41.tar.bz2

41
wf.spec Normal file
View file

@ -0,0 +1,41 @@
Summary: Simple word frequency counter
Name: wf
Version: 0.41
Release: 1%{?dist}
License: GPLv2
Group: Applications/Text
URL: http://www.async.com.br/~marcelo/%{name}/
Source0: http://www.async.com.br/~marcelo/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
wf scans a text file and counts the frequency of words through the
whole text.
%prep
%setup -q
%build
%configure
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} INSTALL="%{__install} -p" install
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Fri Jan 18 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.41-1
- 0.41
* Wed Jan 16 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.4-1
- initial build.