Ticket #2966: twisted.spec

File twisted.spec, 673 bytes (added by lukatmyshu, 12 years ago)

spec file to build an RPM for twisted.

Line 
1Summary: twistd
2Name: Twisted
3Version: 2.5.0
4Release: %{?dist}.0
5License: GPL
6Group: System Environment/Libraries
7URL: http://twistedmatrix.com/trac/
8Source0: %{name}-%{version}.tar
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10
11%description
12Twisted is an event-driven networking engine written in Python and licensed under the MIT license.
13
14%prep
15%setup -q
16
17%build
18python setup.py build
19
20%install
21python setup.py install --root $RPM_BUILD_ROOT/ --prefix %{_prefix}
22
23%clean
24rm -rf $RPM_BUILD_ROOT
25
26
27%files
28%defattr(-,root,root,-)
29%{_bindir}/
30%{_libdir}/
31%{_prefix}/lib
32
33%doc
34
35%post
36
37%postun
38
39%changelog
40* Wed Oct 31 2007  <vijay@meebo.com> -
41- Initial build.
42