/[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.4 by unnilennium, Wed Apr 20 10:46:39 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.3 2016/04/20 10:34:09 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 3
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  Patch1: ezmlm-web-3.3.1-cgi.patch
 Patch2: ezmlm-web-2.3-deletebutton.patch2  
   
18  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  Requires: ezmlm-idx-std  Requires: ezmlm-idx-std
20  Requires: httpd  Requires: httpd
# Line 25  Requires: perl Line 23  Requires: perl
23  Requires: perl-Ezmlm  Requires: perl-Ezmlm
24  Requires: perl-MailTools  Requires: perl-MailTools
25  BuildRequires: gcc  BuildRequires: gcc
26    BuildRequires: e-smith-devtools
27    BuildRequires: perl-Ezmlm
28    
29  %description  %description
30  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 57  many new features that have been suggest
57  and hopefully is now useful to a much larger group of people.  and hopefully is now useful to a much larger group of people.
58    
59  %changelog  %changelog
60    * Wed Apr 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-3.sme
61    - small fix to save some config with 7.2.2 idx [SME: 9470]
62    
63    * Mon Apr 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-1.sme
64    - update to 3.3.1 [SME: 7588]
65    
66  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
67  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
68    
# Line 96  and hopefully is now useful to a much la Line 102  and hopefully is now useful to a much la
102  %setup -n %{name}-%{version}  %setup -n %{name}-%{version}
103  %patch0 -p1  %patch0 -p1
104  %patch1 -p1  %patch1 -p1
105  %patch2 -p1  
106    
107  %build  %build
108  gcc -o index.cgi index.c  mkdir build
109    perl Makefile.PL DESTDIR=build REALINSTALLBIN=/usr/local/bin/ezmlm-web
110    make
111    make install
112    
113    
114    
115  %install  %install
116  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
117    
118  mkdir -p $RPM_BUILD_ROOT/usr/bin  (cd build ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
119  cp ezmlm-web.cgi $RPM_BUILD_ROOT/usr/bin  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
120    | sed -e '/ezmlm-web.cgi.1p/d' \
121  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  
122    
123  mkdir -p $RPM_BUILD_ROOT/etc/ezmlm  # creating the cgi index to the suid wrapper
124  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
125    
126  %clean  %clean
127  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 130  grep '^ezmlm:' /etc/passwd > /dev/null | Line 140  grep '^ezmlm:' /etc/passwd > /dev/null |
140  %preun  %preun
141  %postun  %postun
142    
143  %files  %files -f %{name}-%{version}-%{release}-filelist
144  %defattr(-,root,root)  %defattr(-,root,root)
145  %attr(0755,root,root) /usr/bin/ezmlm-web.cgi  %attr(104755,ezmlm,ezmlm) /usr/local/share/ezmlm-web/www-data/index.cgi
146  %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