/[smeserver]/rpms/netatalk/sme7/netatalk.spec
ViewVC logotype

Contents of /rpms/netatalk/sme7/netatalk.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 27 18:26:16 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: netatalk-2_0_3-6_el4_sme
Remove version from spec

1 %define initdir /etc/rc.d/init.d
2
3 Summary: AppleTalk networking programs
4 Name: netatalk
5 Version: 2.0.3
6 Release: 6%{?dist}
7 License: GPL
8 Group: System Environment/Daemons
9 Source0: http://download.sourceforge.net/netatalk/netatalk-%{version}.tar.bz2
10 #Source1: atalk.init
11 #Source2: netatalk.config
12 #Source3: AppleVolumes.system
13 Source4: ICDumpSuffixMap
14 Patch0: netatalk-%{version}.rh.init.patch
15
16 Epoch: 3
17 Obsoletes: netatalk-1.5.5
18 Url: http://netatalk.sourceforge.net/
19 Prereq: /sbin/chkconfig, /sbin/service
20 Requires: pam >= 0.56, /etc/pam.d/system-auth, tcp_wrappers, openssl, cracklib
21 BuildRequires: cracklib openssl-devel pam quota libtool automake autoconf db4-devel
22 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -u -n)root
23
24 %description
25 This package enables Linux to talk to Macintosh computers via the
26 AppleTalk networking protocol. It includes a daemon to allow Linux
27 to act as a file server over EtherTalk or IP for Mac's.
28
29 %package devel
30 Summary: Headers and static libraries for Appletalk development
31 Group: Development/Libraries
32
33 %description devel
34 This package contains the header files, and static libraries for building
35 Appletalk networking programs.
36
37 %prep
38 %setup -q
39 %patch0 -p 0
40
41 %build
42 touch AUTHORS
43 #libtoolize --force
44 #aclocal -I macros
45 #automake --add-missing
46 #autoconf
47 #autoheader
48 CFLAGS="$RPM_OPT_FLAGS" %configure \
49 --enable-redhat \
50 --disable-cups \
51 --with-mutex="x86/gcc-assembly" \
52 --infodir=%{_infodir} \
53 --mandir=%{_mandir} \
54 --sysconfdir=/etc \
55 --with-uams-path=%{_libdir} \
56 --with-pkgconfdir=/etc/atalk/
57
58 # --with-pkgconfdir=/etc/atalk/ --with-cracklib --with-pam \
59 # --with-shadow --with-tcp-wrappers --with-ssl --with-flock-locksi \
60 # --with-uams-path=%{_libdir}
61
62 # Grrrr. Fix broken libtool/autoFOO Makefiles.
63 #if [ "%{_lib}" != lib ]; then
64 # find . -name Makefile | xargs perl -pi \
65 # -e 's,-L/usr/lib,-L%{_libdir},g'
66 # find . -name Makefile | xargs perl -pi \
67 # -e 's,-L/lib,-L/%{_lib},g'
68 #fi
69
70 make all
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 mkdir -p $RPM_BUILD_ROOT/etc/atalk/{uams,nls}
76 mkdir -p $RPM_BUILD_ROOT/etc/pam.d
77 mkdir -p $RPM_BUILD_ROOT%{initdir}
78 mkdir -p $RPM_BUILD_ROOT/usr/include/{netatalk,atalk}
79
80 make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
81
82 install -m644 config/AppleVolumes.default $RPM_BUILD_ROOT/etc/atalk/AppleVolumes.default
83 install -m644 config/afpd.conf $RPM_BUILD_ROOT/etc/atalk/afpd.conf
84 install -m644 config/atalkd.conf $RPM_BUILD_ROOT/etc/atalk/atalkd.conf
85 install -m644 config/papd.conf $RPM_BUILD_ROOT/etc/atalk/papd.conf
86 install -m644 config/netatalk.pamd $RPM_BUILD_ROOT/etc/pam.d/netatalk
87 install -m644 %{SOURCE4} .
88 #install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/atalk/AppleVolumes.system
89 #install -m644 %{SOURCE2} $RPM_BUILD_ROOT/etc/atalk/netatalk.conf
90 install -m755 distrib/initscripts/rc.atalk.redhat $RPM_BUILD_ROOT%{initdir}/atalk
91 cp include/atalk/*.h $RPM_BUILD_ROOT/usr/include/atalk/
92 cp sys/netatalk/*.h $RPM_BUILD_ROOT/usr/include/netatalk/
93
94 rm -f $RPM_BUILD_ROOT/usr/include/netatalk/at.h || :
95
96 cd $RPM_BUILD_ROOT/etc/atalk/nls
97 $RPM_BUILD_ROOT/usr/bin/makecode || true
98
99 # Remove .la files in buildroot
100 rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
101 rm -f $RPM_BUILD_ROOT%{_bindir}/acleandir.rc \
102 $RPM_BUILD_ROOT%{_mandir}/man1/acleandir.1*
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post
108 /sbin/chkconfig --add atalk
109
110 %preun
111 if [ "$1" = "0" ] ; then
112 /sbin/service atalk stop > /dev/null 2>&1
113 /sbin/chkconfig --del atalk
114 fi
115
116 %postun
117 if [ "$1" -ge "1" ]; then
118 /sbin/service atalk condrestart > /dev/null 2>&1 || :
119 fi
120
121 %files
122 %defattr(-,root,root)
123 %doc AUTHORS CONTRIBUTORS COPYING COPYRIGHT README TODO VERSION NEWS
124 %doc ICDumpSuffixMap doc
125 %dir /etc/atalk
126 %dir /etc/atalk/nls
127 #%config /etc/atalk/nls/*
128 %{_libdir}/*.so
129 %config(noreplace) /etc/atalk/AppleVolumes.default
130 %config(noreplace) /etc/atalk/AppleVolumes.system
131 %config(noreplace) /etc/atalk/netatalk.conf
132 %config(noreplace) /etc/atalk/afpd.conf
133 %config(noreplace) /etc/atalk/atalkd.conf
134 %config(noreplace) /etc/atalk/papd.conf
135 %attr(755,root,root) %config %{initdir}/atalk
136 %config(noreplace) /etc/pam.d/netatalk
137 %{_sbindir}/*
138 %{_bindir}/*
139 %{_mandir}/man*/*
140 %{_datadir}/netatalk
141 %{_libexecdir}/*
142
143 %files devel
144 %defattr(-,root,root)
145 %dir %{_includedir}/atalk
146 %{_libdir}/*.a
147 %attr(0644,root,root) %{_includedir}/atalk/*
148 %attr(0644,root,root) %{_includedir}/netatalk/*
149 %{_datadir}/aclocal/netatalk.m4
150
151 %changelog
152 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
153 - Clean up spec so package can be built by koji/plague
154
155 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
156 - Update to new release naming. No functional changes.
157 - Make Packager generic
158
159 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com> 2.0.3-5es
160 - Bump release for CentOS 4 rebuild.
161
162 * Wed Jun 15 2005 Charlie Brady <charlieb@e-smith.com> 2.0.3-4es
163 - Bump Epoch to trump version from 6.x.
164
165 * Fri May 27 2005 Charlie Brady <charlieb@e-smith.com> 2.0.3-3es
166 - A few small fixes to init script.
167
168 * Thu May 19 2005 Charlie Brady <charlieb@e-smith.com> 2.0.3-2es
169 - Use bundled init script rather than 1.6.x version.
170 - Remove norc patch - IOW, include acleandir.rc file.
171
172 * Thu May 19 2005 Charlie Brady <charlieb@e-smith.com>
173 - Update to version 2.0.3.
174
175 * Sat Apr 30 2005 Charlie Brady <charlieb@e-smith.com>
176 - Remove "-fsigned-char" from configure call.
177
178 * Tue Apr 12 2005 Charlie Brady <charlieb@e-smith.com>
179 - Change configure options to those used with better success by Roger
180 Buck (but with a few small changes, for better backwards compatibility.
181
182 * Wed Jan 12 2005 Charlie Brady <charlieb@e-smith.com>
183 - Update to 2.0.2.
184 - Delete /etc/atalk/nls/* from filelist.
185 - Add %{_libexecdir}/* to filelist
186
187 * Thu Nov 4 2004 Charles Bennett <ccb@xxy.boston.redhat.com> 2:1.6.4-4
188 - patch security vulnerability in e2ps
189 - see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137966
190
191 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
192 - rebuilt
193
194 * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
195 - rebuilt
196
197 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
198 - rebuilt
199
200 * Wed Jan 07 2004 Florian La Roche <Florian.LaRoche@redhat.de>
201 - 1.6.4
202
203 * Fri Aug 1 2003 Charlie Bennett <ccb@redhat.com>
204 - Update with 1.6.3 upstream sources
205
206 * Tue Jul 29 2003 Elliot Lee <sopwith@redhat.com>
207 - Rebuild
208 - Fix perl multilib path editing
209 - Add pathcat patch
210
211 * Thu May 1 2003 Elliot Lee <sopwith@redhat.com> 1.5.5-7
212 - Make multilib generic
213 - Add builddep on quota (for rpcsvc/rquota.h)
214
215 * Wed Feb 18 2003 Bill Nottingham <notting@redhat.com> 1.5.5-5
216 - fix initscript error (#82118)
217
218 * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
219 - rebuilt
220
221 * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 1.5.5-3
222 - patch for compile errors with new ssl libs
223 - rebuild
224
225 * Mon Dec 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
226 - postun should never fail
227
228 * Thu Nov 28 2002 Phil Knirsch <pknirsch@redhat.com> 1.5.5-1
229 - Updated to 1.5.5
230
231 * Tue Jun 25 2002 Phil Knirsch <pknirsch@redhat.com> 1.5.3.1-4
232 - Fixed dependancy problem on /usr/bin/rc by removing acleandir.[1|rc] (#67243)
233 - Fixed missing /usr/share/netatalk dir (#67222)
234
235 * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.5.3.1-2
236 - automated rebuild
237
238 * Tue Jun 18 2002 Phil Knirsch <pknirsch@redhat.com> 1.5.3.1-1
239 - Updated to latest version 1.5.3.1.
240 - Fixed bug for nls file lookup (#66300).
241
242 * Mon May 27 2002 Phil Knirsch <pknirsch@redhat.com> 1.5.2-4
243 - Fixed initscript bug where you can't use blanks inside of names (#64926).
244
245 * Wed Apr 10 2002 Phil Knirsch <pknirsch@redhat.com> 1.5.2-3
246 - Fixed initscript to use correct config files from /etc/atalk (#62803)
247 - Changed initscript to use $0 instead of direct string (#61734)
248 - Change Copyright to Licencse and switch from BSD to GPL (#61746)
249
250 * Thu Mar 14 2002 Bill Nottingham <notting@redhat.com>
251 - don't run by default
252
253 * Wed Mar 13 2002 Bill Nottingham <notting@redhat.com>
254 - it's back
255
256 * Fri Mar 2 2001 Tim Powers <timp@redhat.com>
257 - rebuilt against openssl-0.9.6-1
258
259 * Sun Feb 25 2001 Tim Powers <timp@redhat.com>
260 - fixed bug 29370. This package is trying to include a file glibc already includes
261
262 * Tue Jan 23 2001 Tim Powers <timp@redhat.com>
263 - updated initscript
264
265 * Thu Jan 04 2001 Than Ngo <than@redhat.com>
266 - fixed uams-path
267 - added noreplace to %config
268
269 * Mon Nov 20 2000 Tim Powers <timp@redhat.com>
270 - rebuilt to fix bad dir perms
271
272 * Fri Nov 10 2000 Than Ngo <than@redhat.com>
273 - update to 1.5pre2 (bug #19737, #20397)
274 - update Url and ftp site
275 - clean up specfile
276 - netatalk-1.4b2+asun obsolete
277
278 * Mon Aug 07 2000 Than Ngo <than@redhat.de>
279 - fix dependency with glibc-devel (Bug #15589)
280 - fix typo in description (Bug #15479)
281
282 * Wed Aug 2 2000 Tim Powers <timp@redhat.com>
283 - fix symlinks not being relative.
284
285 * Fri Jul 28 2000 Than Ngo <than@redhat.de>
286 - add missing restart function in startup script
287
288 * Fri Jul 28 2000 Tim Powers <timp@redhat.com>
289 - fixed initscripts so that condrestart doesn't return 1 when the test fails
290
291 * Mon Jul 24 2000 Prospector <prospector@redhat.com>
292 - rebuilt
293
294 * Sun Jul 23 2000 Tim Powers <timp@redhat.com>
295 - rebuilt
296
297 * Mon Jul 17 2000 Tim Powers <timp@redhat.com>
298 - inits back to rc.d/init.d, using service to start inits
299
300 * Wed Jul 12 2000 Than Ngo <than@redhat.de>
301 - rebuilt
302
303 * Thu Jul 06 2000 Tim Powers <timp@redhat.com>
304 - fixed broken PreReq, now PreReq's /etc/init.d
305
306 * Tue Jun 27 2000 Than Ngo <than@redhat.de>
307 - remove prereq initscripts, add requires initscripts
308 - clean up specfile
309
310 * Mon Jun 26 2000 Than Ngo <than@redhat.de>
311 - /etc/rc.d/init.d -> /etc/init.d
312 - add condrestart directive
313 - fix post/preun/postun scripts
314 - prereq initscripts >= 5.20
315
316 * Tue Jun 20 2000 Tim Powers <timp@redhat.com>
317 - fixed bug 11420 concerning the building with -O2.
318
319 * Thu Jun 8 2000 Tim Powers <timp@redhat.com>
320 - fix bug #11978
321 - fix man page locations to be FHS compliant
322
323 * Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com>
324 - modify PAM setup to use system-auth
325
326 * Thu Dec 16 1999 Tim Powers <timp@redhat.com>
327 - renewed source so it is pristine, delete the problematic files in spec file
328 instead
329 - general spec file cleanups, create buildroot and dirs in the %%install
330 section
331 - strip binaries
332 - gzip man pages
333 - fixed netatalk-asun.librpcsvc.patch, -lnss_nis too
334 - changed group
335 - added %defattr to %files section
336
337 * Tue Aug 3 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
338 - rpm-3.0 needs to remove vogus files from source.
339 Removed files: etc/papd/.#magics.c, etc/.#diff
340 * Fri Jul 30 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
341 - Change Copyright tag to BSD.
342 Add /usr/bin/adv1tov2.
343 * Thu Apr 22 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
344 - Correct librpcsvc.patch. Move %changelog section last.
345 Uncomment again -DNEED_QUOTA_WRAPPER in sys/linux/Makefile since
346 LinuxPPC may need.
347 * Wed Mar 31 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
348 - Comment out -DNEED_QUOTA_WRAPPER in sys/linux/Makefile.
349 * Sat Mar 20 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
350 - Correct symbolic links to psf.
351 Remove asciize function from nbplkup so as to display Japanese hostname.
352 * Thu Mar 11 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
353 - Included MacPerl 5 script ICDumpSuffixMap which dumps suffix mapping
354 containd in Internet Config Preference.
355 * Tue Mar 2 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
356 - [asun2.1.3]
357 * Mon Feb 15 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
358 - [pre-asun2.1.2-8]
359 * Sun Feb 7 1999 iNOUE Koich! <inoue@ma.ns.musashi-tech.ac.jp>
360 - [pre-asun2.1.2-6]
361 * Mon Jan 25 1999 iNOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
362 - [pre-asun2.1.2-3]
363 * Thu Dec 17 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
364 - [pre-asun2.1.2]
365 Remove crlf patch. It is now a server's option.
366 * Thu Dec 3 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
367 - Use stable version source netatalk-1.4b2+asun2.1.1.tar.gz
368 Add uams directory
369 * Sat Nov 28 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
370 - Use pre-asun2.1.1-3 source.
371 * Mon Nov 23 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
372 - Use pre-asun2.1.1-2 source.
373 * Mon Nov 16 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
374 - Fix rcX.d's symbolic links.
375 * Wed Oct 28 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
376 - Use pre-asun2.1.0a-2 source. Remove '%exclusiveos linux' line.
377 * Sat Oct 24 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
378 - Use stable version source netatalk-1.4b2+asun2.1.0.tar.gz.
379 * Mon Oct 5 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
380 - Use pre-asun2.1.0-10a source.
381 * Thu Sep 19 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
382 - Use pre-asun2.1.0-8 source. Add chkconfig support.
383 * Sat Sep 12 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
384 - Comment out -DCRLF. Use RPM_OPT_FLAGS.
385 * Mon Sep 8 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
386 - Use pre-asun2.1.0-7 source. Rename atalk.init to atalk.
387 * Mon Aug 22 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
388 - Use pre-asun2.1.0-6 source.
389 * Mon Jul 27 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
390 - Use pre-asun2.1.0-5 source.
391 * Tue Jul 21 1998 INOUE Koichi <inoue@ma.ns.musashi-techa.c.jp>
392 - Use pre-asun2.1.0-3 source.
393 * Tue Jul 7 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
394 - Add afpovertcp entries to /etc/services
395 - Remove BuildRoot in man8 pages
396 * Mon Jun 29 1998 INOUE Koichi <inoue@ma.ns.musashi-tech.ac.jp>
397 - Use modified sources 1.4b2+asun2.1.0 produced by Adrian Sun
398 <asun@saul9.u.washington.edu> to provide an AppleShareIP file server
399 - Included AppleVolumes.system file maintained by Johnson
400 <johnson@stpt.usf.edu>
401 * Mon Aug 25 1997 David Gibson <D.Gibson@student.anu.edu.au>
402 - Used a buildroot
403 - Use RPM_OPT_FLAGS
404 - Moved configuration parameters/files from atalk.init to /etc/atalk
405 - Separated devel package
406 - Built with shared libraries
407 * Sun Jul 13 1997 Paul H. Hargrove <hargrove@sccm.Stanford.EDU>
408 - Updated sources from 1.3.3 to 1.4b2
409 - Included endian patch for Linux/SPARC
410 - Use all the configuration files supplied in the source. This has the
411 following advantages over the ones in the previous rpm release:
412 + The printer 'lp' isn't automatically placed in papd.conf
413 + The default file conversion is binary rather than text.
414 - Automatically add and remove DDP services from /etc/services
415 - Placed the recommended /etc/services in the documentation
416 - Changed atalk.init to give daemons a soft kill
417 - Changed atalk.init to make configuration easier
418
419 * Wed May 28 1997 Mark Cornick <mcornick@zorak.gsfc.nasa.gov>
420 Updated for /etc/pam.d

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed