/[smecontribs]/rpms/awstats/contribs9/awstats.spec
ViewVC logotype

Annotation of /rpms/awstats/contribs9/awstats.spec

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


Revision 1.2 - (hide annotations) (download)
Mon Dec 17 13:15:31 2018 UTC (5 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: awstats-7_7-2_el6_sme, HEAD
Changes since 1.1: +5 -1 lines
Prep for awstats import

1 jcrisp 1.1 %define name awstats
2     %define version 7.7
3 jcrisp 1.2 %define release 2
4 jcrisp 1.1
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     Summary: AWStats is a free powerful and featureful server logfile analyzer.
9    
10     License: GPL
11     Packager: Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
12     Vendor: Laurent Destailleur
13    
14     URL: http://%{name}.sourceforge.net
15     Source: %{name}-%{version}.tar.gz
16    
17     Group: SMEserver/addon
18    
19     #Patch1: smeserver-awstats
20    
21     BuildArch: noarch
22     BuildArchitectures: noarch
23     BuildRoot: /var/tmp/%{name}-%{version}
24     Icon: awstats_logo1.gif
25    
26     BuildRequires: e-smith-devtools
27     Requires: e-smith-release >= 9.2
28     #Provides: config(awstats) = 7.1-1.el6.rf
29     #Provides: awstats = 7.1-1.el6.rf
30     Requires: /bin/bash
31     Requires: /usr/bin/perl
32     #Requires: config(awstats) = 7.1-1.el6.rf
33     Requires: perl >= 0:5.007
34     Requires: perl(Digest::MD5)
35     Requires: perl(Encode)
36     Requires: perl(Geo::IP)
37     Requires: perl(LWP::UserAgent)
38     Requires: perl(POSIX)
39     Requires: perl(Socket)
40     Requires: perl(Time::Local)
41     Requires: perl(strict)
42     Requires: perl(vars)
43     #Requires: rpmlib(CompressedFileNames) <= 3.0.4-1
44     #Requires: rpmlib(FileDigests) <= 4.6.0-1
45     #Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
46     #Requires: rpmlib(PayloadIsXz) <= 5.2-1
47     AutoReqProv: no
48    
49     %description
50     AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically
51    
52     %changelog
53 jcrisp 1.2 * Mon Dec 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 7.7-2.sme
54     - attempt to fix import/build errors
55     - update to latest git https://github.com/eldy/awstats/commit/0dd9142dcd16c74648979d84750ce6aaade5a09c
56    
57 jcrisp 1.1 * Thu Jul 19 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 7.7-1.sme
58     - New build for Koozali SME v9 from git source
59     - https://github.com/eldy/awstats/commit/1c1f9dd466f684461250c8dd3a2bc4081747a761
60    
61    
62     %prep
63    
64     %setup
65     #%patch1 -p1
66    
67     %build
68     #perl createlinks
69    
70     %install
71     rm -rf $RPM_BUILD_ROOT
72     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
73     rm -f %{name}-%{version}-filelist
74     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
75     echo "%doc COPYING" >> %{name}-%{version}-filelist
76    
77    
78     %clean
79     cd ..
80     rm -rf %{name}-%{version}
81    
82     %files -f %{name}-%{version}-filelist
83     %defattr(-,root,root)
84    
85     %pre
86     %preun
87     %post
88    
89     echo "see https://wiki.contribs.org/AWStats"
90    
91     %postun

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