1 |
# $Id: ezmlm-web.spec,v 1.6 2016/04/21 04:35:53 unnilennium Exp $ |
# $Id: ezmlm-web.spec,v 1.2 2016/04/22 15:32:36 unnilennium Exp $ |
2 |
# Authority: gordonr |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
# Name: Gordon Rowell |
4 |
|
|
6 |
%define name ezmlm-web |
%define name ezmlm-web |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 3.3.1 |
%define version 3.3.1 |
9 |
%define release 5 |
%define release 7 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: BSD-style |
License: BSD-style |
26 |
BuildRequires: gcc |
BuildRequires: gcc |
27 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
28 |
BuildRequires: perl-Ezmlm |
BuildRequires: perl-Ezmlm |
29 |
|
BuildRequires: perl-devel |
30 |
|
|
31 |
%description |
%description |
32 |
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 |
59 |
and hopefully is now useful to a much larger group of people. |
and hopefully is now useful to a much larger group of people. |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Fri Apr 22 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-7.sme |
63 |
|
- fix to build against SME 9 centos 6 [SME: 8439] |
64 |
|
|
65 |
* Thu Apr 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-5.sme |
* Thu Apr 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 3.3.1-5.sme |
66 |
- remove non available options (always on) in ezmlm-idx 7.2.2 [SME: 9470] |
- remove non available options (always on) in ezmlm-idx 7.2.2 [SME: 9470] |
67 |
- remove setting user access to web, as unecessary in SME |
- remove setting user access to web, as unecessary in SME |
116 |
|
|
117 |
%build |
%build |
118 |
mkdir build |
mkdir build |
119 |
perl Makefile.PL DESTDIR=build REALINSTALLBIN=/usr/local/bin/ezmlm-web |
perl Makefile.PL DESTDIR=build PREFIX=/usr |
120 |
|
# REALINSTALLBIN=/usr/bin/ezmlm-web |
121 |
make |
make |
122 |
make install |
make install |
123 |
|
|
129 |
(cd build ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd build ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
130 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
131 |
| sed -e '/ezmlm-web.cgi.1p/d' \ |
| sed -e '/ezmlm-web.cgi.1p/d' \ |
132 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
133 |
|
#| sed -e '/ezmlm-web.cgi.1p/d' \ |
134 |
|
#> %{name}-%{version}-%{release}-filelist |
135 |
|
|
136 |
# creating the cgi index to the suid wrapper |
# creating the cgi index to the suid wrapper |
137 |
cp -a $RPM_BUILD_ROOT/usr/bin/ezmlm-web.wrapper $RPM_BUILD_ROOT/usr/local/share/ezmlm-web/www-data/index.cgi |
cp -a $RPM_BUILD_ROOT/usr/bin/ezmlm-web.wrapper $RPM_BUILD_ROOT/usr/local/share/ezmlm-web/www-data/index.cgi |