1 |
# $Id: smeserver-ajaxterm.spec,v 1.8 2008/11/25 16:20:18 slords Exp $ |
# $Id: smeserver-ajaxterm.spec,v 1.1 2013/02/05 21:44:30 unnilennium Exp $ |
2 |
# Authority: mweinber |
# Authority: mweinber |
3 |
# Name: Michael Weinberger |
# Name: Michael Weinberger |
4 |
|
|
5 |
Summary: ajaxterm is a web-based terminal |
Summary: ajaxterm is a web-based terminal |
6 |
%define realname smeserver-ajaxterm |
%define realname smeserver-ajaxterm |
7 |
%define version 1.0.5 |
%define version 1.0.5 |
8 |
%define release 2 |
%define release 3 |
9 |
Name: %{realname} |
Name: %{realname} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
19 |
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm |
URL: http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm |
20 |
Requires: smeserver-release > 7.1.3 |
Requires: smeserver-release > 7.1.3 |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
22 |
|
BuildRequires: python2-devel python-setuptools |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Tue Feb 05 2013 JP Pialasse <tests@pialasse.com> 1.0.5-3 |
26 |
|
- import into SME8 tree [SME: 7309] |
27 |
|
- fix brp-python in spec file |
28 |
|
|
29 |
* Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2 |
* Sat Mar 01 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.5-2 |
30 |
- Moved documentation from spec file |
- Moved documentation from spec file |
31 |
- Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm) |
- Changed description (copied from http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm) |
62 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
63 |
tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz |
tar xzvf $RPM_SOURCE_DIR/Ajaxterm-0.10.tar.gz |
64 |
mv Ajaxterm-0.10/* root/opt/ajaxterm |
mv Ajaxterm-0.10/* root/opt/ajaxterm |
65 |
|
rm -rf Ajaxterm-0.10 |
66 |
ls root/opt/ajaxterm |
ls root/opt/ajaxterm |
67 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
68 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
71 |
--file /opt/ajaxterm/ 'attr(0640,ajaxterm,www)' \ |
--file /opt/ajaxterm/ 'attr(0640,ajaxterm,www)' \ |
72 |
--file /opt/ajaxterm/ajaxterm.py 'attr(0550,ajaxterm,www)' \ |
--file /opt/ajaxterm/ajaxterm.py 'attr(0550,ajaxterm,www)' \ |
73 |
--file /opt/ajaxterm/login.pl 'attr(0550,ajaxterm,www)' \ |
--file /opt/ajaxterm/login.pl 'attr(0550,ajaxterm,www)' \ |
74 |
|
--dir /usr/share/doc/smeserver-ajaxterm-1.0.5 'attr(0755,root,root)' \ |
75 |
>> %{name}-%{version}-filelist |
>> %{name}-%{version}-filelist |
76 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |
77 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
# following make 4 files listed twice, and show no more |
78 |
|
#find $RPM_BUILD_ROOT -depth -type l -print |\ |
79 |
|
# sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
80 |
|
cat %{name}-%{version}-filelist |
81 |
|
/usr/lib/rpm/brp-python-bytecompile |
82 |
|
|
83 |
%clean |
%clean |
84 |
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT |
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT |
85 |
|
|
86 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |
%defattr(-,root,root) |
88 |
%attr(0755,root,root) %doc %dir /usr/share/doc/smeserver-ajaxterm-1.0.5/ |
#following make folder listed twice |
89 |
|
#%attr(0755,root,root) %doc %dir /usr/share/doc/smeserver-ajaxterm-1.0.5/ |
90 |
|
|
91 |
|
|