]> git.pld-linux.org Git - packages/cursel.git/blob - cursel.spec
- fix build on archs other than builders arch; release 3
[packages/cursel.git] / cursel.spec
1 Summary:        Form and menu language interpreter
2 Summary(pl):    Interpreter jêzyka formularzy i menu
3 Name:           cursel
4 Version:        0.1.9
5 Release:        3
6 License:        GPL
7 Group:          Applications/Terminal
8 Group(de):      Applikationen/Terminal
9 Group(pl):      Aplikacje/Terminal
10 Source0:        http://users.pandora.be/stes/%{name}-%{version}.tar.gz
11 BuildRequires:  autoconf
12 BuildRequires:  byacc
13 BuildRequires:  flex
14 BuildRequires:  ncurses-devel >= 5.2
15 BuildRequires:  objc
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
23 %description -l pl
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.
27
28 %prep
29 %setup  -q
30
31 %build
32 autoconf
33 %configure
34 %{__make} \
35         OBJC="%{_bindir}/objc -Wc:-march=%{_target_cpu} -I%{_includedir}/ncurses"\
36         LIBS="-lform -lmenu -lncurses"
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
45 gzip -9nf README TODO CHANGES
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(755,root,root) %{_bindir}/*
This page took 0.026866 seconds and 3 git commands to generate.