]> git.pld-linux.org Git - packages/dialog.git/blob - dialog.spec
- Release: 11 (STBR after AMD64 fixes)
[packages/dialog.git] / dialog.spec
1 Summary:        A program to build tty dialog boxes
2 Summary(de):    Ein Programm zum Erstellen von tty-Dialogfeldern
3 Summary(fr):    Programme pour construire des boîtes de dialogue en mode texte
4 Summary(pl):    Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym
5 Summary(tr):    tty diyalog kutularý oluþturan bir program
6 Name:           dialog
7 Version:        0.69
8 Release:        11
9 Epoch:          1
10 License:        GPL
11 Group:          Applications/Terminal
12 Source0:        ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
13 # Source0-md5:  479652df0812eaa92fa9fbec98dd72cd
14 # other (more recent but probably worse) dialog source:
15 # ftp://AdvancedResearch.org/pub/vstemen/%{name}-0.7.tar.gz
16 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 # Source1-md5:  932081790cd8aa857822bd2b0eafa5bb
18 Patch0:         %{name}-shared.patch
19 Patch1:         %{name}-manpath.patch
20 Patch2:         %{name}-awk.patch
21 Patch3:         %{name}-examples.patch
22 Patch4:         %{name}-opt.patch
23 Patch5:         %{name}-menumouse.patch
24 Patch6:         %{name}-menuborder.patch
25 Patch7:         %{name}-segv.patch
26 URL:            http://www.AdvancedResearch.org/dialog/
27 BuildRequires:  autoconf
28 BuildRequires:  gpm-devel
29 BuildRequires:  ncurses-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Dialog is a utility that allows you to build user interfaces in a TTY
34 (text mode only). You can call dialog from within a shell script to
35 ask the user questions or present with choices in a more user friendly
36 manner.
37
38 %description -l de
39 Dialog ist ein Dienstprogramm, das das Erstellen einer
40 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
41 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
42 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
43 anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
44 einige Beispiele.
45
46 %description -l fr
47 dialog est un utilitaire permettant de construire des interfaces
48 utilisateur en mode texte. On peut appeler dialog à partir d'un script
49 shell pour poser des questions à l'utilisateur ou lui proposer des
50 choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
51 pour quelques exemples.
52
53 %description -l pl
54 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
55 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
56 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
57 pracy.
58
59 %description -l tr
60 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
61 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
62 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
63 Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
64
65 %package devel
66 Summary:        Libraries and headers files for dialog
67 Summary(pl):    Biblioteki i pliki nagó³wkowe dla dialog
68 Group:          Development/Libraries
69 Requires:       %{name} = %{epoch}:%{version}
70
71 %description devel
72 Libraries and header files for dialog.
73
74 %description devel -l pl
75 Biblioteki i pliki nag³ówkowe dla dialog.
76
77 %package static
78 Summary:        Static dialog library
79 Summary(pl):    Statyczna biblioteka dialog
80 Group:          Development/Libraries
81 Requires:       %{name}-devel = %{epoch}:%{version}
82
83 %description static
84 Static dialog library.
85
86 %description static -l pl
87 Statyczna biblioteka dialog.
88
89 %prep
90 %setup  -q
91 %patch0 -p1
92 %patch1 -p1
93 %patch2 -p1
94 %patch3 -p1
95 %patch4 -p1
96 %patch5 -p1
97 %patch6 -p1
98 %patch7 -p1
99
100 %build
101 %{__autoconf}
102 %configure
103
104 %{__make} depend shared all
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
109
110 %{__make} install \
111     prefix=$RPM_BUILD_ROOT%{_prefix} \
112     LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
113     mandir=$RPM_BUILD_ROOT%{_mandir}
114
115 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
116
117 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %post   -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
124
125 %files
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/dialog
128 %attr(755,root,root) %{_libdir}/lib*.so.*
129 %{_mandir}/man1/*
130 %lang(hu) %{_mandir}/hu/man1/*
131 %lang(pl) %{_mandir}/pl/man1/*
132
133 %files devel
134 %defattr(644,root,root,755)
135 %doc README CMDLINE
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %{_includedir}/*
138 %{_mandir}/man3/*
139 %attr(- ,root,root) %{_examplesdir}/dialog
140
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/lib*.a
This page took 0.057114 seconds and 3 git commands to generate.