]> git.pld-linux.org Git - packages/Xdialog.git/blob - Xdialog.spec
- gtk+2 version, BR: pkgconfig
[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.2.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://thgodef.nerim.net/xdialog/%{name}-%{version}.tar.bz2
9 # Source0-md5:  70ab645e4dd9e437e81011c623f34521
10 Patch0:         %{name}-configure.patch
11 URL:            http://xdialog.dyns.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 1:2.2.0
16 BuildRequires:  pkgconfig
17 Provides:       xdialog
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Xdialog is designed to be a drop in replacement for the cdialog
22 program. It converts any terminal based program into a program with an
23 X Window interface. The dialogs are easier to see and use and Xdialog
24 adds even more functionalities (help button+box, treeview, editbox,
25 file selector, range box, and much more).
26
27 %description -l pl
28 Xdialog jest zaprojektowany by byæ odpowiednikiem, zamiennikiem dla
29 programu cdialog. Dziêki niemu dowolny terminalowy program u¿ywaj±cy
30 dialogu mo¿na zamieniæ w program z interejsem X Window.
31
32 %prep
33 %setup -q
34 %patch0 -p1
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 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no_NO,nb}
53 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sv{_SE,}
54
55 %find_lang %{name}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS BUGS ChangeLog README samples/
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
This page took 0.036201 seconds and 4 git commands to generate.