]>
Commit | Line | Data |
---|---|---|
4a95b5c9 | 1 | Summary: Icmake - an Intelligent C-like Maker |
90679736 | 2 | Summary(pl.UTF-8): Icmake - inteligentny C-podobny "maker" |
4a95b5c9 | 3 | Name: icmake |
56c55455 | 4 | Version: 7.16.00 |
d1a70194 | 5 | Release: 2 |
56c55455 | 6 | License: GPL v3 |
aa399e45 AM |
7 | Group: Development/Building |
8 | Source0: http://downloads.sourceforge.net/icmake/%{name}_%{version}.orig.tar.gz | |
56c55455 | 9 | # Source0-md5: 174cf585d9133a42797d49e280345f03 |
aa399e45 AM |
10 | URL: http://icmake.sourceforge.net/ |
11 | BuildRequires: bash | |
56c55455 | 12 | BuildRequires: sed >= 4.0 |
c8b62d8d | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4a95b5c9 SZ |
14 | |
15 | %description | |
56c55455 | 16 | Icmake is yet another maker - but this time, one that uses a C-like |
321b6134 | 17 | syntaxis. The Icmake scripts should feel `natural' to all C |
18 | programmers. Icmake is furthermore a powerful shell script language: | |
19 | it can be used for program maintenance as well as for system | |
20 | administrative tasks. | |
4a95b5c9 | 21 | |
2154397f | 22 | %description -l pl.UTF-8 |
56c55455 | 23 | Icmake jest kolejnym programem typu "make" - ale takim, który używa |
2154397f JR |
24 | składni podobnej do C. Skrypty Icmake powinny być dość 'naturalne' dla |
25 | programistów C. Icmake jest ponadto potężnym narzędziem skryptowym: | |
26 | może być używany równie dobrze do tworzenia programów z równym | |
27 | powodzeniem jak do wykonywania zadań administracyjnych. | |
4a95b5c9 SZ |
28 | |
29 | %prep | |
aa399e45 | 30 | %setup -q |
56c55455 JB |
31 | %{__sed} -i -e 's#gcc#%{__cc}#g' icm_bootstrap |
32 | %{__sed} -i -e 's#/lib/#/%{_lib}/#g' INSTALL.im | |
4a95b5c9 SZ |
33 | |
34 | %build | |
56c55455 JB |
35 | CFLAGS="%{rpmcflags} %{rpmcppflags}" \ |
36 | LDFLAGS="%{rpmldflags}" \ | |
aa399e45 | 37 | ./icm_bootstrap / |
4a95b5c9 SZ |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
aa399e45 AM |
42 | ./icm_install progs $RPM_BUILD_ROOT |
43 | ./icm_install scripts $RPM_BUILD_ROOT | |
44 | ./icm_install skel $RPM_BUILD_ROOT | |
45 | ./icm_install man $RPM_BUILD_ROOT | |
46 | ./icm_install doc $RPM_BUILD_ROOT | |
47 | ./icm_install etc $RPM_BUILD_ROOT | |
4a95b5c9 | 48 | |
4a95b5c9 SZ |
49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
aa399e45 AM |
54 | %doc changelog doc/icmake.ps doc/icmake.doc |
55 | %dir %{_sysconfdir}/icmake | |
56 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/icmake/icmstart.rc | |
57 | %attr(755,root,root) %{_bindir}/icmake | |
58 | %attr(755,root,root) %{_bindir}/icmbuild | |
59 | %attr(755,root,root) %{_bindir}/icmstart | |
60 | %attr(755,root,root) %{_bindir}/icmun | |
61 | %dir %{_libdir}/%{name} | |
62 | %attr(755,root,root) %{_libdir}/%{name}/icm-comp | |
63 | %attr(755,root,root) %{_libdir}/%{name}/icm-exec | |
64 | %attr(755,root,root) %{_libdir}/%{name}/icm-pp | |
65 | %dir %{_datadir}/%{name} | |
66 | %dir %{_datadir}/%{name}/parser | |
67 | %{_datadir}/%{name}/parser/grammar | |
68 | %dir %{_datadir}/%{name}/parser/gramspec | |
aa399e45 | 69 | %attr(755,root,root) %{_datadir}/%{name}/parser/gramspec/grambuild |
56c55455 JB |
70 | %{_datadir}/%{name}/parser/gramspec/*.gr0 |
71 | %{_datadir}/%{name}/[!p]* | |
72 | %{_mandir}/man1/icmake.1* | |
73 | %{_mandir}/man1/icmbuild.1* | |
74 | %{_mandir}/man1/icmstart.1* | |
75 | %{_mandir}/man7/icmconf.7* | |
76 | %{_mandir}/man7/icmstart.rc.7* |