1 |
# $Id: ezmlm-web.spec,v 1.6 2016/04/21 04:35:53 unnilennium Exp $ |
# $Id: ezmlm-web.spec,v 1.1 2016/04/22 09:24: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 6 |
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-6.sme |
63 |
|
- fix to build against SME 9 centos 6 [SME: 8439] |
64 |
|
- new path for bins /usr/local/bin |
65 |
|
|
66 |
* 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 |
67 |
- 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] |
68 |
- remove setting user access to web, as unecessary in SME |
- remove setting user access to web, as unecessary in SME |
128 |
|
|
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' \ |
> %{name}-%{version}-%{release}-filelist |
132 |
> %{name}-%{version}-%{release}-filelist |
#| sed -e '/ezmlm-web.cgi.1p/d' \ |
133 |
|
#> %{name}-%{version}-%{release}-filelist |
134 |
|
|
135 |
# creating the cgi index to the suid wrapper |
# creating the cgi index to the suid wrapper |
136 |
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/local/bin/ezmlm-web.wrapper $RPM_BUILD_ROOT/usr/local/share/ezmlm-web/www-data/index.cgi |
137 |
|
|
138 |
%clean |
%clean |
139 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
155 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
156 |
%defattr(-,root,root) |
%defattr(-,root,root) |
157 |
%attr(104755,ezmlm,ezmlm) /usr/local/share/ezmlm-web/www-data/index.cgi |
%attr(104755,ezmlm,ezmlm) /usr/local/share/ezmlm-web/www-data/index.cgi |
158 |
%doc /usr/share/man/man1/ezmlm-web.cgi.1p.gz |
#%doc /usr/share/man/man1/ezmlm-web.cgi.1p |