-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtalkfilters.spec
65 lines (50 loc) · 2.09 KB
/
talkfilters.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name: talkfilters
Version: 2.3.9
Release: 0
Epoch: 0
Summary: This group of filters serves no utilitarian purpose but is nonetheless quite amusing and hence should be maintained for posterity
Group: Applications/Text
License: GPL
URL: http://www.hyperrealm.com/
Source0: %{name}-%{version}.tar.gz
#Patch common.h to include the 'standards'
Patch0: talkfilters-2.3.9_patch0
#Patch talkfilters.h to include the 'standards'
Patch1: talkfilters-2.3.9_patch1
#Patch Makefile.am so we don't do anything with the old gaim plugin
Patch2: talkfilters-2.3.9_patch2
#Patch Makefile.am so there's no symlinked man pages
Patch3: talkfilters-2.3.9_patch3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glibc-devel
Requires: glibc
%description
The GNU Talk Filters are filter programs that convert ordinary English text into text that mimics a stereotyped or otherwise humorous dialect. These filters have been in the public domain for many years, but now for the first time they are provided as a single integrated package. The filters include austro, b1ff, brooklyn, chef, cockney, drawl, dubya, fudd, funetak, jethro, jive, kraut, pansy, pirate, postmodern, redneck, valspeak, and warez. Each program reads from standard input and writes to standard output. This version of the package also provides the filters as a C library, so they can be easily embedded in other programs.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
#in the dist, mandir=${PREFIX}/man, which isn't good
%configure --mandir=%{_mandir}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README
%{_bindir}/*
%{_includedir}/talkfilters.h
%{_libdir}/libtalkfilters*.so*
%{_libdir}/libtalkfilters.la
%{_libdir}/libtalkfilters.a
%{_mandir}/*/*
%{_infodir}/talkfilters.info.gz
%changelog
* Sun Nov 20 2005 Peter Lawler <[email protected]>
- Initial Spec File