]> git.pld-linux.org Git - packages/Xdialog.git/blob - Xdialog.spec
- use standard prefix, added po patch, no_NO->nb, fixed build
[packages/Xdialog.git] / Xdialog.spec
1 Summary:        Xdialog - replacement for the dialog program
2 Summary(pl):    Xdialog - zamiennik dla programu cdialog
3 Name:           Xdialog
4 Version:        2.1.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://thgodef.nerim.net/xdialog/%{name}-%{version}.tar.bz2
9 # Source0-md5:  379cd3983a22d98d4436e8d4f16a56e1
10 Patch0:         %{name}-po.patch
11 URL:            http://xdialog.dyns.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Xdialog is designed to be a drop in replacement for the cdialog
20 program. It converts any terminal based program into a program with an
21 X Window interface. The dialogs are easier to see and use and Xdialog
22 adds even more functionalities (help button+box, treeview, editbox,
23 file selector, range box, and much more).
24
25 %description -l pl
26 Xdialog jest zaprojektowany by byæ odpowiednikiem, zamiennikiem dla
27 programu cdialog. Dziêki niemu dowolny terminalowy program u¿ywaj±cy
28 dialogu mo¿a zamieniæ w program z interejsem X Window.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 mv -f po/{no_NO,nb}.po
35
36 %build
37 %{__gettextize}
38 %{__aclocal}
39 %{__autoconf}
40 %{__autoheader}
41 %{__automake}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         doc_DATA=
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc README NEWS AUTHORS BUGS ChangeLog samples/
60 %attr(755,root,root) %{_bindir}/*
61 %{_mandir}/man1/*
This page took 0.232382 seconds and 4 git commands to generate.