]> git.pld-linux.org Git - packages/dialog.git/blob - dialog.spec
- rel 12 for th
[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:        12
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 Patch8:         %{name}-gcc34.patch
27 URL:            http://www.AdvancedResearch.org/dialog/
28 BuildRequires:  autoconf
29 BuildRequires:  gpm-devel
30 BuildRequires:  ncurses-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Dialog is a utility that allows you to build user interfaces in a TTY
35 (text mode only). You can call dialog from within a shell script to
36 ask the user questions or present with choices in a more user friendly
37 manner.
38
39 %description -l de
40 Dialog ist ein Dienstprogramm, das das Erstellen einer
41 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
42 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
43 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
44 anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
45 einige Beispiele.
46
47 %description -l fr
48 dialog est un utilitaire permettant de construire des interfaces
49 utilisateur en mode texte. On peut appeler dialog à partir d'un script
50 shell pour poser des questions à l'utilisateur ou lui proposer des
51 choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
52 pour quelques exemples.
53
54 %description -l pl
55 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
56 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
57 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
58 pracy.
59
60 %description -l tr
61 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
62 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
63 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
64 Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
65
66 %package devel
67 Summary:        Libraries and headers files for dialog
68 Summary(pl):    Biblioteki i pliki nagó³wkowe dla dialog
69 Group:          Development/Libraries
70 Requires:       %{name} = %{epoch}:%{version}
71
72 %description devel
73 Libraries and header files for dialog.
74
75 %description devel -l pl
76 Biblioteki i pliki nag³ówkowe dla dialog.
77
78 %package static
79 Summary:        Static dialog library
80 Summary(pl):    Statyczna biblioteka dialog
81 Group:          Development/Libraries
82 Requires:       %{name}-devel = %{epoch}:%{version}
83
84 %description static
85 Static dialog library.
86
87 %description static -l pl
88 Statyczna biblioteka dialog.
89
90 %prep
91 %setup -q
92 %patch0 -p1
93 %patch1 -p1
94 %patch2 -p1
95 %patch3 -p1
96 %patch4 -p1
97 %patch5 -p1
98 %patch6 -p1
99 %patch7 -p1
100 %patch8 -p1
101
102 %build
103 %{__autoconf}
104 %configure
105
106 %{__make} depend shared all
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
111
112 %{__make} install \
113         prefix=$RPM_BUILD_ROOT%{_prefix} \
114         LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
115         mandir=$RPM_BUILD_ROOT%{_mandir}
116
117 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
118
119 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post   -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
126
127 %files
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/dialog
130 %attr(755,root,root) %{_libdir}/lib*.so.*
131 %{_mandir}/man1/*
132 %lang(hu) %{_mandir}/hu/man1/*
133 %lang(pl) %{_mandir}/pl/man1/*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc README CMDLINE
138 %attr(755,root,root) %{_libdir}/lib*.so
139 %{_includedir}/*
140 %{_mandir}/man3/*
141 %attr(- ,root,root) %{_examplesdir}/dialog
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/lib*.a
This page took 0.055475 seconds and 4 git commands to generate.