/[pdpsoft]/trunk/nl.nikhef.ndpf.tools/httpd-syslogger/specfile.cin
ViewVC logotype

Contents of /trunk/nl.nikhef.ndpf.tools/httpd-syslogger/specfile.cin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2737 - (show annotations) (download)
Fri Oct 31 20:16:08 2014 UTC (7 years, 2 months ago) by davidg
File size: 924 byte(s)
Initial version - sources form www.nikhef.nl

1 #
2 # spec file
3 #
4 # @(#)$Id: specfile.cin,v 1.1 2008/02/05 16:58:12 davidg Exp $
5 #
6 %define _unpackaged_files_terminate_build 0
7
8 Summary: @DESCR@
9 Name: @NAME@
10 Version: @VERSION@
11 Vendor: @VENDOR@
12 Release: @RELEASE@
13 License: @LICENSE@
14 Group: @GROUP@
15 Source: @TARFILE@
16 BuildArch: noarch
17 BuildRoot: /var/tmp/%{name}-build
18 Packager: @AUTHOR@
19 Requires: @REQUIRES@
20 URL: @URL@
21
22 %description
23 @DESCR@
24
25 (@URL@) @NAME@
26
27 %prep
28 %setup
29
30 %build
31 make
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make PREFIX=$RPM_BUILD_ROOT install
36 make FILELIST=filelist-%{name}-%{version}-%{release} PREFIX=$RPM_BUILD_ROOT filelist
37
38 %post
39 chkconfig httpd
40 [ $? -eq 0 ] && service httpd condrestart
41
42 %postun
43 chkconfig httpd
44 [ $? -eq 0 ] && service httpd condrestart
45
46 %files -f filelist-%{name}-%{version}-%{release}
47 %defattr(-,root,root)
48 %config(noreplace) /etc/sysconfig/httpd_syslogger
49 %config(noreplace) /etc/httpd/conf.d/syslogger.conf
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28