/[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.6 by unnilennium, Thu Apr 21 04:35:53 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.5 2016/04/20 10:54:10 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 5
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
18  Patch2: ezmlm-web-2.3-deletebutton.patch2  Patch2: ezmlm-web-3.3.1-modiffor722.patch
   
19  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20  Requires: ezmlm-idx-std  Requires: ezmlm-idx-std
21  Requires: httpd  Requires: httpd
# Line 25  Requires: perl Line 24  Requires: perl
24  Requires: perl-Ezmlm  Requires: perl-Ezmlm
25  Requires: perl-MailTools  Requires: perl-MailTools
26  BuildRequires: gcc  BuildRequires: gcc
27    BuildRequires: e-smith-devtools
28    BuildRequires: perl-Ezmlm
29    
30  %description  %description
31  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 58  many new features that have been suggest
58  and hopefully is now useful to a much larger group of people.  and hopefully is now useful to a much larger group of people.
59    
60  %changelog  %changelog
61    * Thu Apr 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-5.sme
62    - remove non available options (always on) in ezmlm-idx 7.2.2 [SME: 9470]
63    - remove setting user access to web, as unecessary in SME
64    - patch ezmlm-web-3.3.1-modiffor722.patch
65    
66    * Wed Apr 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-4.sme
67    - small fix to save some config with 7.2.2 idx [SME: 9470]
68    
69    * Mon Apr 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-1.sme
70    - update to 3.3.1 [SME: 7588]
71    
72  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
73  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
74    
# Line 99  and hopefully is now useful to a much la Line 111  and hopefully is now useful to a much la
111  %patch2 -p1  %patch2 -p1
112    
113  %build  %build
114  gcc -o index.cgi index.c  mkdir build
115    perl Makefile.PL DESTDIR=build REALINSTALLBIN=/usr/local/bin/ezmlm-web
116    make
117    make install
118    
119    
120    
121  %install  %install
122  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
123    
124  mkdir -p $RPM_BUILD_ROOT/usr/bin  (cd build ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
125  cp ezmlm-web.cgi $RPM_BUILD_ROOT/usr/bin  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
126    | sed -e '/ezmlm-web.cgi.1p/d' \
127  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  
128    
129  mkdir -p $RPM_BUILD_ROOT/etc/ezmlm  # creating the cgi index to the suid wrapper
130  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
131    
132  %clean  %clean
133  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 130  grep '^ezmlm:' /etc/passwd > /dev/null | Line 146  grep '^ezmlm:' /etc/passwd > /dev/null |
146  %preun  %preun
147  %postun  %postun
148    
149  %files  %files -f %{name}-%{version}-%{release}-filelist
150  %defattr(-,root,root)  %defattr(-,root,root)
151  %attr(0755,root,root) /usr/bin/ezmlm-web.cgi  %attr(104755,ezmlm,ezmlm) /usr/local/share/ezmlm-web/www-data/index.cgi
152  %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