Package: gnarwl / 3.6.dfsg-11

fln/0006-kept-only-one-spec-for-rpmbuild.patch Patch series | download
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
From c6b30f522ec6982087582efeed76395090b40c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felipe=20Zipitr=C3=ADa?= <fzipi@fing.edu.uy>
Date: Wed, 13 Apr 2016 16:54:53 -0300
Subject: [PATCH] kept only one spec for rpmbuild

---
 data/gnarwl-3.3.spec                  | 90 -----------------------------------
 data/gnarwl-3.4.spec                  | 90 -----------------------------------
 data/{gnarwl-3.2.spec => gnarwl.spec} | 10 +++-
 3 files changed, 8 insertions(+), 182 deletions(-)
 delete mode 100644 data/gnarwl-3.3.spec
 delete mode 100644 data/gnarwl-3.4.spec
 rename data/{gnarwl-3.2.spec => gnarwl.spec} (93%)

diff --git a/data/gnarwl-3.3.spec b/data/gnarwl-3.3.spec
deleted file mode 100644
index ea9bd92..0000000
--- a/data/gnarwl-3.3.spec
+++ /dev/null
@@ -1,90 +0,0 @@
-%define name gnarwl
-%define sname damnit
-%define version 3.3
-%define mansec 8
-%define homedir /var/lib/%{name}
-%define useradd_prg /usr/sbin/useradd
-%define useradd_arg -r -s /bin/false -c "Email autoreply agent" -d %{homedir} %{name}
-
-
-Name: %{name}
-Summary: An email autoresponder with LDAP support
-Version: %{version}
-Release: 1
-License: GPL
-Group: Applications/Communications
-Source: %{name}-%{version}.tgz
-Requires: gdbm, openldap2
-BuildRoot: %_tmppath/%{name}-%{version}-buildroot
-Packager: Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
-URL: http://www.oss.billiton.de/
-
-%description
-Gnarwl is an email autoresponder, intended to be a successor to the old
-vacation(1) program. With gnarwl users are no longer required to have
-full blown system accounts, but may store their autoreply text compfortably
-within an LDAP database.
-
-
-%prep
-
-%setup
-
-%build
-./configure --prefix=/usr --sysconfdir=%{_sysconfdir} --with-homedir=%{homedir}
-make
-
-%install
-%__rm -rf $RPM_BUILD_ROOT
-%__mkdir -p $RPM_BUILD_ROOT/%{_bindir}
-%__mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
-%__mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
-%__mkdir -p $RPM_BUILD_ROOT/%{homedir}/block
-%__mkdir -p $RPM_BUILD_ROOT/%{homedir}/bin
-%__cp src/%{name} $RPM_BUILD_ROOT/%{_bindir}
-%__cp src/%{sname} $RPM_BUILD_ROOT/%{_sbindir}
-%__cp data/header.txt $RPM_BUILD_ROOT/%{homedir}
-%__cp data/footer.txt $RPM_BUILD_ROOT/%{homedir}
-%__cp data/gnarwl.cfg $RPM_BUILD_ROOT/%{_sysconfdir}
-%__cp doc/%{name}.%{mansec} $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__cp doc/%{sname}.%{mansec} $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__gzip $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}/*
-%__strip $RPM_BUILD_ROOT/%{_bindir}/%{name}
-%__strip $RPM_BUILD_ROOT/%{_sbindir}/%{sname}
-echo \|%{_bindir}/%{name} > $RPM_BUILD_ROOT/%{homedir}/.forward 
-cat data/badheaders.txt | src/%{sname} -a $RPM_BUILD_ROOT/%{homedir}/badheaders.db
-cat data/blacklist.txt | src/%{sname} -a $RPM_BUILD_ROOT/%{homedir}/blacklist.db
-
-
-%files
-%defattr(0644,root,root)
-%doc doc/FAQ
-%doc doc/INSTALL
-%doc doc/LICENSE
-%doc doc/AUTHORS 
-%doc doc/HISTORY 
-%doc doc/README
-%doc doc/README.upgrade
-%doc doc/ISPEnv.schema 
-%doc doc/ISPEnv2.schema 
-%doc doc/example.ldif
-%{_mandir}/man%{mansec}/%{name}.%{mansec}.gz
-%{_mandir}/man%{mansec}/%{sname}.%{mansec}.gz
-%defattr(0755,root,root)
-%{_bindir}/%{name}
-%{_sbindir}/%{sname}
-%defattr(-,gnarwl,root)
-%{homedir}
-%defattr(0400,gnarwl,root)
-%config %{_sysconfdir}/%{name}.cfg
-
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
-
-%pre
-if ! %__grep %{name} /etc/passwd > /dev/null; then
-  echo "Creating system account \"%{name}\"" ;
-  %{useradd_prg} %{useradd_arg} ;
-fi
diff --git a/data/gnarwl-3.4.spec b/data/gnarwl-3.4.spec
deleted file mode 100644
index fc6cd2f..0000000
--- a/data/gnarwl-3.4.spec
+++ /dev/null
@@ -1,90 +0,0 @@
-%define name gnarwl
-%define sname damnit
-%define version 3.4
-%define mansec 8
-%define homedir /var/lib/%{name}
-%define useradd_prg /usr/sbin/useradd
-%define useradd_arg -r -s /bin/false -c "Email autoreply agent" -d %{homedir} %{name}
-
-
-Name: %{name}
-Summary: An email autoresponder with LDAP support
-Version: %{version}
-Release: 1
-License: GPL
-Group: Applications/Communications
-Source: %{name}-%{version}.tgz
-Requires: gdbm, openldap2
-BuildRoot: %_tmppath/%{name}-%{version}-buildroot
-Packager: Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
-URL: http://www.oss.billiton.de/
-
-%description
-Gnarwl is an email autoresponder, intended to be a successor to the old
-vacation(1) program. With gnarwl users are no longer required to have
-full blown system accounts, but may store their autoreply text compfortably
-within an LDAP database.
-
-
-%prep
-
-%setup
-
-%build
-./configure --prefix=/usr --sysconfdir=%{_sysconfdir} --with-homedir=%{homedir}
-make
-
-%install
-%__rm -rf $RPM_BUILD_ROOT
-%__mkdir -p $RPM_BUILD_ROOT/%{_bindir}
-%__mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
-%__mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
-%__mkdir -p $RPM_BUILD_ROOT/%{homedir}/block
-%__mkdir -p $RPM_BUILD_ROOT/%{homedir}/bin
-%__cp src/%{name} $RPM_BUILD_ROOT/%{_bindir}
-%__cp src/%{sname} $RPM_BUILD_ROOT/%{_sbindir}
-%__cp data/header.txt $RPM_BUILD_ROOT/%{homedir}
-%__cp data/footer.txt $RPM_BUILD_ROOT/%{homedir}
-%__cp data/gnarwl.cfg $RPM_BUILD_ROOT/%{_sysconfdir}
-%__cp doc/%{name}.%{mansec} $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__cp doc/%{sname}.%{mansec} $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}
-%__gzip $RPM_BUILD_ROOT/%{_mandir}/man%{mansec}/*
-%__strip $RPM_BUILD_ROOT/%{_bindir}/%{name}
-%__strip $RPM_BUILD_ROOT/%{_sbindir}/%{sname}
-echo \|%{_bindir}/%{name} > $RPM_BUILD_ROOT/%{homedir}/.forward 
-cat data/badheaders.txt | src/%{sname} -a $RPM_BUILD_ROOT/%{homedir}/badheaders.db
-cat data/blacklist.txt | src/%{sname} -a $RPM_BUILD_ROOT/%{homedir}/blacklist.db
-
-
-%files
-%defattr(0644,root,root)
-%doc doc/FAQ
-%doc doc/INSTALL
-%doc doc/LICENSE
-%doc doc/AUTHORS 
-%doc doc/HISTORY 
-%doc doc/README
-%doc doc/README.upgrade
-%doc doc/ISPEnv.schema 
-%doc doc/ISPEnv2.schema 
-%doc doc/example.ldif
-%{_mandir}/man%{mansec}/%{name}.%{mansec}.gz
-%{_mandir}/man%{mansec}/%{sname}.%{mansec}.gz
-%defattr(0755,root,root)
-%{_bindir}/%{name}
-%{_sbindir}/%{sname}
-%defattr(-,gnarwl,root)
-%{homedir}
-%defattr(0400,gnarwl,root)
-%config %{_sysconfdir}/%{name}.cfg
-
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
-
-%pre
-if ! %__grep %{name} /etc/passwd > /dev/null; then
-  echo "Creating system account \"%{name}\"" ;
-  %{useradd_prg} %{useradd_arg} ;
-fi
diff --git a/data/gnarwl-3.2.spec b/data/gnarwl.spec
similarity index 93%
rename from data/gnarwl-3.2.spec
rename to data/gnarwl.spec
index cb90e94..423c94b 100644
--- a/data/gnarwl-3.2.spec
+++ b/data/gnarwl.spec
@@ -1,6 +1,6 @@
 %define name gnarwl
 %define sname damnit
-%define version 3.2
+%define version 3.7
 %define mansec 8
 %define homedir /var/lib/%{name}
 %define useradd_prg /usr/sbin/useradd
@@ -14,10 +14,11 @@ Release: 1
 License: GPL
 Group: Applications/Communications
 Source: %{name}-%{version}.tgz
-Requires: gdbm, openldap2
+Requires: gdbm, openldap
 BuildRoot: %_tmppath/%{name}-%{version}-buildroot
 Packager: Patrick Ahlbrecht <p.ahlbrecht@billiton.de>
 URL: http://www.oss.billiton.de/
+BuildRequires: openldap-devel gdbm-devel
 
 %description
 Gnarwl is an email autoresponder, intended to be a successor to the old
@@ -88,3 +89,8 @@ if ! %__grep %{name} /etc/passwd > /dev/null; then
   echo "Creating system account \"%{name}\"" ;
   %{useradd_prg} %{useradd_arg} ;
 fi
+
+%changelog
+* Wed Apr 13 2016 Felipe Zipitria <fzipi@fing.edu.uy> - 3.7
+- Rebuild 
+
-- 
2.9.3