]> git.pld-linux.org Git - packages/scons.git/blame - scons.spec
- updated to 3.1.2
[packages/scons.git] / scons.spec
CommitLineData
d88ae6c4 1Summary: An Open Source software construction tool
55ed2445 2Summary(pl.UTF-8): OpenSourcowe narzędzie do tworzenia oprogramowania
d2f80fa2 3Name: scons
a7d32f59 4Version: 3.1.2
955dbd2e 5Release: 1
ca30b959 6License: MIT
d2f80fa2 7Group: Development/Tools
08848df9 8Source0: http://downloads.sourceforge.net/scons/%{name}-%{version}.tar.gz
a7d32f59 9# Source0-md5: 77b2f8ac2661b7a4fad51c17cb7f1b25
d88ae6c4 10URL: http://www.scons.org/
a7d32f59 11BuildRequires: python-devel >= 1:2.7
f46335bf 12BuildRequires: rpm-pythonprov
580c2611 13BuildRequires: sed >= 4.0
a7d32f59
JB
14Requires: python >= 1:2.7
15Requires: python-modules >= 1:2.7
16Requires: python-devel-tools >= 1:2.7
03c0face 17BuildArch: noarch
d2f80fa2 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
d88ae6c4 21SCons is an Open Source software construction tool - that is, a build
d2f80fa2 22tool; an improved substitute for the classic Make utility; a better
23way to build software. SCons is based on the design which won the
24Software Carpentry build tool design competition in August 2000.
25
26SCons "configuration files" are Python scripts, eliminating the need
27to learn a new build tool syntax. SCons maintains a global view of all
28dependencies in a tree, and can scan source (or other) files for
29implicit dependencies, such as files specified on #include lines.
30SCons uses MD5 signatures to rebuild only when the contents of a file
31have really changed, not just when the timestamp has been touched.
32SCons supports side-by-side variant builds, and is easily extended
d88ae6c4
JB
33with user-defined Builder and/or Scanner objects.
34
3125d778
JR
35%description -l pl.UTF-8
36SCons to wypuszczone z ogólnodostępnymi źródłami narzędzie do
d88ae6c4 37budowania oprogramowania; jest to ulepszony zamiennik klasycznego
3125d778 38narzędzia Make. SCons jest oparte na opracowaniu, które wygrało
d88ae6c4
JB
39konkurs Software Carpentry owania w sierpniu 2000.
40
3125d778
JR
41"Pliki konfiguracyjne" SCons to skrypty Pythona, co eliminuje potrzebę
42uczenia się składni nowego narzędzia. SCons zachowuje globalny widok
43wszystkich zależności w drzewie i może przeszukiwać pliki źródeł (lub
44inne) w poszukiwaniu niejawnych zależności, takich jak pliki podane w
45liniach #include. SCons używa sygnatur MD5, aby przebudowywać tylko
46wtedy, kiedy naprawdę się zmieniła zawartość pliku, a nie przy samej
47zmianie czasu modyfikacji. SCons obsługuje budowanie wariantowe i jest
48łatwo rozszerzalny przez zdefiniowane przez użytkownika obiekty
d88ae6c4 49Builder i/lub Scanner.
d2f80fa2 50
51%prep
e9f606d0 52%setup -q
ca30b959 53
f4508c62 54%{__sed} -i -e "s,'lib','share',g" script/{scons,sconsign}
a7d32f59 55%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' script/scons*
d2f80fa2 56
57%build
01fd4e56 58%{__python} setup.py build
d2f80fa2 59
60%install
61rm -rf $RPM_BUILD_ROOT
6fd023ac 62
01fd4e56 63%{__python} setup.py install \
f46335bf
KK
64 --no-version-script \
65 --optimize=2 \
d2f80fa2 66 --root=$RPM_BUILD_ROOT \
f46335bf 67 --install-data=%{_datadir} \
03c0face 68 --install-lib=%{py_sitescriptdir} \
d2f80fa2 69 --install-scripts=%{_bindir}
6fd023ac 70
a7d32f59 71%py_postclean
d2f80fa2 72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
ca30b959 78# LICENSE.txt must be packaged (see LICENSE.txt file)
0b7ef9c6 79%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt
08848df9 80%attr(755,root,root) %{_bindir}/scons*
81%{py_sitescriptdir}/SCons
10b8b098 82%{py_sitescriptdir}/scons-%{version}-py*.egg-info
a7d32f59 83%{_mandir}/man1/scons*.1*
This page took 0.123893 seconds and 4 git commands to generate.