/[packages]/cauldron/Xdialog/current/SPECS/Xdialog.spec
ViewVC logotype

Contents of /cauldron/Xdialog/current/SPECS/Xdialog.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1133627 - (show annotations) (download)
Tue Aug 1 08:56:33 2017 UTC (6 years, 8 months ago) by pterjan
File size: 1411 byte(s)
Fix breakage from find_lang update script
1 Name: Xdialog
2 Version: 2.3.1
3 Release: %mkrel 9
4 Summary: A replacement for the cdialog program for X
5 License: GPL
6 Group: Development/Other
7 URL: http://xdialog.dyns.net/
8 Source0: %{name}-%{version}.tar.bz2
9 Patch0: Xdialog-2.2.1-fix-str-fmt.patch
10 Patch1: Xdialog-2.3.1-po.patch
11 Provides: xmsg-dialog
12 Buildrequires: bison
13 Buildrequires: gtk+2-devel
14 Buildrequires: glib2-devel
15 Buildrequires: autoconf2.5
16
17
18 %description
19 Xdialog is designed to be a drop in replacement for the cdialog program.
20 It converts any terminal based program into a program with an X-windows
21 interface. The dialogs are easier to see and use and the treeview adds an
22 extra dimension to the way menus can be displayed.
23
24 %prep
25 %setup -q
26 %patch0 -p0
27 %patch1 -p1
28
29 %build
30
31 %configure2_5x --with-gtk2
32
33 # don't strip (retarded crap!)
34 find -type f -name "Makefile" | xargs perl -pi -e "s|^INSTALL_STRIP_PROGRAM.*|INSTALL_STRIP_PROGRAM = \"\\\${SHELL} \\\$\(install_sh\) -c\"|g"
35 find -type f -name "Makefile" | xargs perl -pi -e "s|INSTALL_STRIP_FLAG=-s|INSTALL_STRIP_FLAG=|g"
36 find -type f -name "Makefile" | xargs perl -pi -e "s|-Wall -s|-Wall|g"
37
38 %make
39
40 %install
41 %makeinstall docdir=%{buildroot}%{_docdir}/%{name}
42
43 %find_lang %{name}
44
45 %files -f %{name}.lang
46 %doc ChangeLog COPYING samples
47 %doc doc/*.html doc/*.png
48 %doc %_docdir/%name
49 %{_mandir}/man1/*
50 %{_bindir}/*

  ViewVC Help
Powered by ViewVC 1.1.30