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