]>
Commit | Line | Data |
---|---|---|
b2c97981 | 1 | Summary: Form and menu language interpreter |
a0c3f1fb | 2 | Summary(pl.UTF-8): Interpreter języka formularzy i menu |
c9f7086e | 3 | Name: cursel |
84e51ec8 | 4 | Version: 0.2.2 |
5 | Release: 1 | |
c9f7086e AM |
6 | License: GPL |
7 | Group: Applications/Terminal | |
c9f7086e | 8 | Source0: http://users.pandora.be/stes/%{name}-%{version}.tar.gz |
84e51ec8 | 9 | # Source0-md5: 3797e0236c4f6d76d8cfbb538d5240cf |
10 | URL: http://users.pandora.be/stes/compiler.html | |
b2c97981 | 11 | BuildRequires: autoconf |
c9f7086e AM |
12 | BuildRequires: byacc |
13 | BuildRequires: flex | |
27ff3413 | 14 | BuildRequires: ncurses-ext-devel >= 5.2 |
9e67fe13 | 15 | BuildRequires: objc |
c9f7086e AM |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | CURSEL is a FMLI implementation, a small language that allows you to | |
20 | quickly make a form- and menu- based character interface to shell | |
21 | scripts and other programs. | |
22 | ||
db35df12 JR |
23 | %description -l pl.UTF-8 |
24 | CURSEL jest implementacją FMLI (Form and Menu Language Interpreter). | |
25 | Niewielki język pozwalający na szybkie tworzenie interfejsu | |
26 | użytkownika do skryptów powłoki lub innych programów. | |
c9f7086e AM |
27 | |
28 | %prep | |
7f059104 | 29 | %setup -q |
c9f7086e AM |
30 | |
31 | %build | |
9b798ce7 | 32 | %{__autoconf} |
c9f7086e AM |
33 | %configure |
34 | %{__make} \ | |
af208722 | 35 | OBJC="%{_bindir}/objc -Wc:%{rpmcflags} -I/usr/include/ncurses"\ |
7e7f97c6 | 36 | LIBS="-lform -lmenu -lncurses %{rpmldflags}" |
c9f7086e AM |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{_bindir} | |
41 | ||
42 | %{__make} install \ | |
43 | BINDIR=$RPM_BUILD_ROOT%{_bindir} | |
44 | ||
c9f7086e AM |
45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
bba4377b | 50 | %doc README TODO CHANGES |
c9f7086e | 51 | %attr(755,root,root) %{_bindir}/* |