]>
Commit | Line | Data |
---|---|---|
d88ae6c4 | 1 | Summary: An Open Source software construction tool |
55ed2445 | 2 | Summary(pl.UTF-8): OpenSourcowe narzędzie do tworzenia oprogramowania |
d2f80fa2 | 3 | Name: scons |
a7d32f59 | 4 | Version: 3.1.2 |
955dbd2e | 5 | Release: 1 |
ca30b959 | 6 | License: MIT |
d2f80fa2 | 7 | Group: Development/Tools |
08848df9 | 8 | Source0: http://downloads.sourceforge.net/scons/%{name}-%{version}.tar.gz |
a7d32f59 | 9 | # Source0-md5: 77b2f8ac2661b7a4fad51c17cb7f1b25 |
d88ae6c4 | 10 | URL: http://www.scons.org/ |
a7d32f59 | 11 | BuildRequires: python-devel >= 1:2.7 |
f46335bf | 12 | BuildRequires: rpm-pythonprov |
580c2611 | 13 | BuildRequires: sed >= 4.0 |
a7d32f59 JB |
14 | Requires: python >= 1:2.7 |
15 | Requires: python-modules >= 1:2.7 | |
16 | Requires: python-devel-tools >= 1:2.7 | |
03c0face | 17 | BuildArch: noarch |
d2f80fa2 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
d88ae6c4 | 21 | SCons is an Open Source software construction tool - that is, a build |
d2f80fa2 | 22 | tool; an improved substitute for the classic Make utility; a better |
23 | way to build software. SCons is based on the design which won the | |
24 | Software Carpentry build tool design competition in August 2000. | |
25 | ||
26 | SCons "configuration files" are Python scripts, eliminating the need | |
27 | to learn a new build tool syntax. SCons maintains a global view of all | |
28 | dependencies in a tree, and can scan source (or other) files for | |
29 | implicit dependencies, such as files specified on #include lines. | |
30 | SCons uses MD5 signatures to rebuild only when the contents of a file | |
31 | have really changed, not just when the timestamp has been touched. | |
32 | SCons supports side-by-side variant builds, and is easily extended | |
d88ae6c4 JB |
33 | with user-defined Builder and/or Scanner objects. |
34 | ||
3125d778 JR |
35 | %description -l pl.UTF-8 |
36 | SCons to wypuszczone z ogólnodostępnymi źródłami narzędzie do | |
d88ae6c4 | 37 | budowania oprogramowania; jest to ulepszony zamiennik klasycznego |
3125d778 | 38 | narzędzia Make. SCons jest oparte na opracowaniu, które wygrało |
d88ae6c4 JB |
39 | konkurs Software Carpentry owania w sierpniu 2000. |
40 | ||
3125d778 JR |
41 | "Pliki konfiguracyjne" SCons to skrypty Pythona, co eliminuje potrzebę |
42 | uczenia się składni nowego narzędzia. SCons zachowuje globalny widok | |
43 | wszystkich zależności w drzewie i może przeszukiwać pliki źródeł (lub | |
44 | inne) w poszukiwaniu niejawnych zależności, takich jak pliki podane w | |
45 | liniach #include. SCons używa sygnatur MD5, aby przebudowywać tylko | |
46 | wtedy, kiedy naprawdę się zmieniła zawartość pliku, a nie przy samej | |
47 | zmianie czasu modyfikacji. SCons obsługuje budowanie wariantowe i jest | |
48 | łatwo rozszerzalny przez zdefiniowane przez użytkownika obiekty | |
d88ae6c4 | 49 | Builder 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 | |
61 | rm -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 | |
74 | rm -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* |