|
Line
Link Here
|
| 0 |
-- a/python-module-twisted-conch.spec |
0 |
++ b/python-module-twisted-conch.spec |
|
Lines 1-18
Link Here
|
| 1 |
%define version 0.8.0 |
1 |
%define version 0.8.0 |
| 2 |
%define release alt1 |
2 |
%define release alt1.1 |
| 3 |
%define origname TwistedConch |
3 |
%define origname TwistedConch |
| 4 |
%setup_python_module twisted-conch |
4 |
%setup_python_module twisted-conch |
| 5 |
|
5 |
|
| 6 |
Name: %{packagename} |
6 |
Name: %packagename |
| 7 |
Version: %{version} |
7 |
Version: %version |
| 8 |
Release: %{release} |
8 |
Release: %release |
| 9 |
Summary: Twisted SSHv2 implementation |
9 |
Summary: Twisted SSHv2 implementation |
| 10 |
|
10 |
|
| 11 |
Group: Development/Python |
11 |
Group: Development/Python |
| 12 |
License: MIT |
12 |
License: MIT |
| 13 |
URL: http://twistedmatrix.com/trac/wiki/TwistedConch |
13 |
URL: http://twistedmatrix.com/trac/wiki/TwistedConch |
| 14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
| 15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Conch/0.8/%{origname}-%{version}.tar.bz2 |
15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Conch/0.8/%origname-%version.tar.bz2 |
| 16 |
|
16 |
|
| 17 |
BuildRequires: python-module-twisted-core >= 2.5.0 |
17 |
BuildRequires: python-module-twisted-core >= 2.5.0 |
| 18 |
BuildRequires: python-devel |
18 |
BuildRequires: python-devel |
|
Lines 34-69
implementation of Twisted's Manhole application is also included, featuring
Link Here
|
| 34 |
server-side input history and interactive syntax coloring. |
34 |
server-side input history and interactive syntax coloring. |
| 35 |
|
35 |
|
| 36 |
%prep |
36 |
%prep |
| 37 |
%setup -q -n %{origname}-%{version} |
37 |
%setup -q -n %origname-%version |
| 38 |
|
38 |
|
| 39 |
find doc -name \*.py | xargs chmod a-x |
39 |
find doc -name \*.py -print0 | xargs -0 chmod a-x |
| 40 |
|
40 |
|
| 41 |
%build |
41 |
%build |
| 42 |
%__python setup.py build |
42 |
%__python setup.py build |
| 43 |
|
43 |
|
| 44 |
%install |
44 |
%install |
| 45 |
%__python setup.py install --root $RPM_BUILD_ROOT |
45 |
%__python setup.py install --root $RPM_BUILD_ROOT --install-purelib %python_sitelibdir |
| 46 |
|
46 |
|
| 47 |
# Man pages |
47 |
# Man pages |
| 48 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/ |
48 |
mkdir -p -- $RPM_BUILD_ROOT%_man1dir |
| 49 |
cp -a doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/ |
49 |
cp -a -- doc/man/*.1 $RPM_BUILD_ROOT%_man1dir/ |
| 50 |
rm -rf doc/man |
50 |
rm -rf -- doc/man |
| 51 |
|
|
|
| 52 |
%clean |
| 53 |
|
51 |
|
| 54 |
%files |
52 |
%files |
| 55 |
%defattr(-,root,root,-) |
|
|
| 56 |
%doc README LICENSE NEWS doc/* |
53 |
%doc README LICENSE NEWS doc/* |
| 57 |
%{_mandir}/man1/* |
54 |
%_man1dir/* |
| 58 |
%{_bindir}/cftp |
55 |
%_bindir/cftp |
| 59 |
%{_bindir}/ckeygen |
56 |
%_bindir/ckeygen |
| 60 |
%{_bindir}/conch |
57 |
%_bindir/conch |
| 61 |
%{_bindir}/tkconch |
58 |
%_bindir/tkconch |
| 62 |
|
59 |
|
| 63 |
%{python_sitelibdir}/twisted/conch/ |
60 |
%python_sitelibdir/twisted/conch |
| 64 |
|
61 |
|
| 65 |
%{python_sitelibdir}/twisted/plugins/twisted_conch.py* |
62 |
%python_sitelibdir/twisted/plugins/twisted_conch.py* |
| 66 |
|
63 |
|
| 67 |
%changelog |
64 |
%changelog |
|
|
65 |
* Sat Oct 27 2007 Nikolay A. Fetisov <naf@altlinux.ru> 0.8.0-alt1.1 |
| 66 |
- Fix build on x86_64 |
| 67 |
- Spec file cleanup |
| 68 |
|
| 68 |
* Fri Mar 30 2007 Sergey Alembekov <rt@altlinux.ru> 0.8.0-alt1 |
69 |
* Fri Mar 30 2007 Sergey Alembekov <rt@altlinux.ru> 0.8.0-alt1 |
| 69 |
- Build for new upstream version |
70 |
- Build for new upstream version |