1 |
# $Id: ezmlm-web.spec,v 1.1 2016/04/22 09:24:36 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 6 |
%define release 7 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: BSD-style |
License: BSD-style |
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 |
* 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] |
- fix to build against SME 9 centos 6 [SME: 8439] |
|
- new path for bins /usr/local/bin |
|
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] |
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 |
|
|
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' \ |
132 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
133 |
#| sed -e '/ezmlm-web.cgi.1p/d' \ |
#| sed -e '/ezmlm-web.cgi.1p/d' \ |
134 |
#> %{name}-%{version}-%{release}-filelist |
#> %{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/local/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 |
138 |
|
|
139 |
%clean |
%clean |
140 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
156 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
157 |
%defattr(-,root,root) |
%defattr(-,root,root) |
158 |
%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 |
159 |
#%doc /usr/share/man/man1/ezmlm-web.cgi.1p |
%doc /usr/share/man/man1/ezmlm-web.cgi.1p.gz |