]>
Commit | Line | Data |
---|---|---|
1cdd0044 | 1 | Name: Xdialog |
0e6ade5c | 2 | Summary: Xdialog in replacement for the cdialog program |
6fd7ccfa | 3 | Version: 1.4.3 |
4 | Release: 1 | |
0e6ade5c | 5 | License: GPL |
6fd7ccfa | 6 | Group: X11/Applications |
7 | Group(pl): X11/Aplikacje | |
8 | Source0: http://xdialog.free.fr/%{name}-%{version}.tar.bz2 | |
0e6ade5c | 9 | URL: http://xdialog.free.fr/ |
1cdd0044 | 10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1cdd0044 AF |
11 | |
12 | %define _prefix /usr/X11R6 | |
13 | %define _mandir %{_prefix}/man | |
14 | ||
15 | %description | |
489ee314 | 16 | Xdialog is designed to be a drop in replacement for the cdialog |
17 | program. It converts any terminal based program into a program with an | |
18 | X-windows interface. The dialogs are easier to see and use and Xdialog | |
19 | adds even more functionalities (help button+box, treeview, editbox, | |
20 | file selector, range box, and much more). | |
1cdd0044 AF |
21 | |
22 | %prep | |
23 | rm -rf $RPM_BUILD_ROOT | |
24 | ||
25 | %setup -q | |
26 | ||
27 | %build | |
28 | LDFLAGS="-s"; export LDFLAGS | |
29 | %configure | |
30 | make | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
0e6ade5c | 34 | |
1cdd0044 AF |
35 | make install DESTDIR=$RPM_BUILD_ROOT |
36 | ||
6fd7ccfa | 37 | gzip -9nf README NEWS AUTHORS BUGS ChangeLog samples/* |
1cdd0044 AF |
38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc {README,NEWS,AUTHORS,BUGS,ChangeLog}.gz samples/*.gz | |
45 | %attr(755,root,root) %{_bindir}/* |