blob: 3b1307dd973473bfc3070df41efede66a40d2c95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# sitelib for noarch packages
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: fedora-devshell
Version: 0.1.2pre1
Release: 1%{?dist}
Summary: Fedora Developer's Toolbox
Group: Development/Languages
License: GPLv2
URL: https://fedorahosted.org/%{name}/
Source0: https://fedorahosted.org/releases/f/e/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools-devel, python-dateutil
BuildRequires: python-configobj, rpm-python
%description
Fedora Devshell is a developers toolbox for creating packages and developing
software for Fedora. It aims to simplify the process of creating and
maintaining packages in the Fedora repositories, and simplify the workflow
between other Fedora components.
%prep
%setup -q -n %{name}-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/ports
%{_bindir}/devshell
%doc LICENSE PKG-INFO
# For noarch packages: sitelib
%{python_sitelib}/devshell/
%{python_sitelib}/fedora_devshell-*.egg-info
%changelog
* Sat May 2 2009 Yaakov M. Nemoy <devshell@hexago.nl> - 0.1.2pre1-1
- new upstream, prerelease
- removes TODO
* Fri May 1 2009 Yaakov M. Nemoy <devshell@hexago.nl> - 0.1.1-1
- new upstream
- fixes license
- includes upstream URL
- adds PKG-INFO to docs
- more specific file entries for python_sitelib
- upstream removes extraneous shebangs from some scripts
* Thu Apr 30 2009 Yaakov M. Nemoy <devshell@hexago.nl> - 0.1.0-1
- creation
|