/[smecontribs]/rpms/ezmlm-web/contribs8/ezmlm-web.spec
ViewVC logotype

Diff of /rpms/ezmlm-web/contribs8/ezmlm-web.spec

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

Revision 1.1 by unnilennium, Sun May 12 19:37:27 2013 UTC Revision 1.2 by unnilennium, Tue Apr 19 03:42:56 2016 UTC
# Line 1  Line 1 
1  # $Id: ezmlm-web.spec,v 1.4 2008/11/25 16:20:11 slords Exp $  # $Id: ezmlm-web.spec,v 1.1 2013/05/12 19:37:27 unnilennium Exp $
2  # Authority: gordonr  # Authority: gordonr
3  # Name: Gordon Rowell  # Name: Gordon Rowell
4    
5  Summary: Web interface to ezmlm configuration  Summary: Web interface to ezmlm configuration
6  %define name ezmlm-web  %define name ezmlm-web
7  Name: %{name}  Name: %{name}
8  %define version 2.3  %define version 3.3.1
9  %define release 2  %define release 1
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: BSD-style  License: BSD-style
13  Group: Networking/Daemons  Group: Networking/Daemons
14  URL: https://systemausfall.org/toolforge/ezmlm-web/  URL: https://systemausfall.org/toolforge/ezmlm-web/
15  Source: https://systemausfall.org/toolforge/ezmlm-web/download/ezmlm-web-2.3.tar.gz  Source: https://systemausfall.org/toolforge/ezmlm-web/download/ezmlm-web-3.3.1.tar.gz
16  Patch0: ezmlm-web-2.3-cgibin.patch  Patch0: ezmlm-web-3.3.1-smeintegration.patch
17  Patch1: ezmlm-web-2.3-helpicon.patch  #Patch0: ezmlm-web-3.3.1-smeweb.patch
18  Patch2: ezmlm-web-2.3-deletebutton.patch2  #Patch0: ezmlm-web-2.3-cgibin.patch
19    #Patch1: ezmlm-web-2.3-helpicon.patch
20    #Patch2: ezmlm-web-2.3-deletebutton.patch2
21    
22  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23  Requires: ezmlm-idx-std  Requires: ezmlm-idx-std
# Line 25  Requires: perl Line 27  Requires: perl
27  Requires: perl-Ezmlm  Requires: perl-Ezmlm
28  Requires: perl-MailTools  Requires: perl-MailTools
29  BuildRequires: gcc  BuildRequires: gcc
30    BuildRequires: e-smith-devtools
31    BuildRequires: perl-Ezmlm
32    
33  %description  %description
34  The need for ezmlm-web arose from the fact that we host many student  The need for ezmlm-web arose from the fact that we host many student
# Line 57  many new features that have been suggest Line 61  many new features that have been suggest
61  and hopefully is now useful to a much larger group of people.  and hopefully is now useful to a much larger group of people.
62    
63  %changelog  %changelog
64    * Mon Apr 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-1.sme
65    - update to 3.3.1 [SME: 7588]
66    
67  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
68  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
69    
# Line 95  and hopefully is now useful to a much la Line 102  and hopefully is now useful to a much la
102  %prep  %prep
103  %setup -n %{name}-%{version}  %setup -n %{name}-%{version}
104  %patch0 -p1  %patch0 -p1
 %patch1 -p1  
 %patch2 -p1  
105    
106  %build  %build
107  gcc -o index.cgi index.c  mkdir build
108    perl Makefile.PL DESTDIR=build REALINSTALLBIN=/usr/local/bin/ezmlm-web
109    make
110    make install
111    
112    
113    
114  %install  %install
115  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
116    
117  mkdir -p $RPM_BUILD_ROOT/usr/bin  (cd build ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
118  cp ezmlm-web.cgi $RPM_BUILD_ROOT/usr/bin  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
119    | sed -e '/ezmlm-web.cgi.1p/d' \
120  mkdir -p $RPM_BUILD_ROOT/home/httpd/html/ezmlm-web  >        %{name}-%{version}-%{release}-filelist
 cp index.cgi $RPM_BUILD_ROOT/home/httpd/html/ezmlm-web  
121    
122  mkdir -p $RPM_BUILD_ROOT/etc/ezmlm  # creating the cgi index to the suid wrapper
123  cp ezmlmwebrc $RPM_BUILD_ROOT/etc/ezmlm  cp -a $RPM_BUILD_ROOT/usr/bin/ezmlm-web.wrapper $RPM_BUILD_ROOT/usr/local/share/ezmlm-web/www-data/index.cgi
124    
125  %clean  %clean
126  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 130  grep '^ezmlm:' /etc/passwd > /dev/null | Line 139  grep '^ezmlm:' /etc/passwd > /dev/null |
139  %preun  %preun
140  %postun  %postun
141    
142  %files  %files -f %{name}-%{version}-%{release}-filelist
143  %defattr(-,root,root)  %defattr(-,root,root)
144  %attr(0755,root,root) /usr/bin/ezmlm-web.cgi  %attr(104755,ezmlm,ezmlm) /usr/local/share/ezmlm-web/www-data/index.cgi
145  %attr(4755,ezmlm,ezmlm) /home/httpd/html/ezmlm-web/index.cgi  %doc   /usr/share/man/man1/ezmlm-web.cgi.1p.gz
 %config(noreplace) /etc/ezmlm/ezmlmwebrc  
 %doc CHANGES README TODO UPGRADING  
 %doc webusers.sample  
 %doc htaccess.sample  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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