]> git.pld-linux.org Git - packages/dialog.git/blame - dialog.spec
- updated to 1.3-20190211
[packages/dialog.git] / dialog.spec
CommitLineData
14266e31
AG
1%define ver 1.3
2%define sdate 20190211
9f01d675 3Summary: A program to build tty dialog boxes
9894b95b
ER
4Summary(de.UTF-8): Ein Programm zum Erstellen von tty-Dialogfeldern
5Summary(fr.UTF-8): Programme pour construire des boîtes de dialogue en mode texte
6Summary(pl.UTF-8): Dialog tworzy okienkowy interfejs użytkownika na terminalu tekstowym
7Summary(tr.UTF-8): tty diyalog kutuları oluşturan bir program
9f01d675 8Name: dialog
53ff8074 9Version: %{ver}.%{sdate}
14266e31 10Release: 1
3a3a8d17 11Epoch: 1
53ff8074 12License: LGPL v2.1
3a3a8d17 13Group: Applications/Terminal
14266e31
AG
14Source0: ftp://ftp.invisible-island.net/dialog/%{name}-%{ver}-%{sdate}.tgz
15# Source0-md5: 27d05caef648e8e02d0908a59951d44c
e5d1eecd 16Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
78e1c6b9 17# Source1-md5: 932081790cd8aa857822bd2b0eafa5bb
53ff8074 18URL: http://invisible-island.net/dialog/dialog.html
4d8cdc89 19BuildRequires: gettext-tools
47c16b19 20BuildRequires: libtool
d7a19f5b 21BuildRequires: ncurses-devel >= 5.4
09d63e72 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92313b76 23
24%description
9f01d675 25Dialog is a utility that allows you to build user interfaces in a TTY
26(text mode only). You can call dialog from within a shell script to
27ask the user questions or present with choices in a more user friendly
3a3a8d17 28manner.
92313b76 29
d4d53770 30%description -l de.UTF-8
9f01d675 31Dialog ist ein Dienstprogramm, das das Erstellen einer
d4d53770 32Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
9f01d675 33dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
34benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
d7a19f5b
SP
35anzubieten. Unter %{_examplesdir}/%{name}-%{version} finden Sie einige
36Beispiele.
92313b76 37
d4d53770 38%description -l fr.UTF-8
92313b76 39dialog est un utilitaire permettant de construire des interfaces
d4d53770
JR
40utilisateur en mode texte. On peut appeler dialog à partir d'un script
41shell pour poser des questions à l'utilisateur ou lui proposer des
42choix de façon conviviale. Voir %{_examplesdir}/%{name}-%{version}
9f01d675 43pour quelques exemples.
92313b76 44
d4d53770
JR
45%description -l pl.UTF-8
46Dialog jest narzędziem umożliwiającym stworzenie przyjaznego
47interfejsu użytkownika na terminalu pracującym w trybie tekstowym. Do
48programu dołączone są przykładowe skrypty, ułatwiające rozpoczęcie
9f01d675 49pracy.
92313b76 50
d4d53770
JR
51%description -l tr.UTF-8
52Dialog, metin ekran için kullanıcı arayüzleri oluşturmayı sağlayan bir
53araçtır. Kullanıcıya seçenekleri göstermek veya sorular sormak için,
54dialog programını bir kabuk programcığı içinden çağırabilirsiniz.
55Örnekler için %{_examplesdir}/%{name}-%{version} dizinine bakınız.
92313b76 56
9f01d675 57%package devel
d2a77f7f 58Summary: Libraries and headers files for dialog
9894b95b 59Summary(pl.UTF-8): Biblioteki i pliki nagółwkowe dla dialog
d2a77f7f 60Group: Development/Libraries
47c16b19
JB
61Requires: %{name} = %{epoch}:%{version}-%{release}
62Requires: ncurses-devel >= 5.4
d2a77f7f
AF
63
64%description devel
4ef7c0e1 65Libraries and header files for dialog.
d2a77f7f 66
d4d53770
JR
67%description devel -l pl.UTF-8
68Biblioteki i pliki nagłówkowe dla dialog.
d2a77f7f 69
4ef7c0e1 70%package static
d2a77f7f 71Summary: Static dialog library
9894b95b 72Summary(pl.UTF-8): Statyczna biblioteka dialog
d2a77f7f 73Group: Development/Libraries
47c16b19 74Requires: %{name}-devel = %{epoch}:%{version}-%{release}
d2a77f7f
AF
75
76%description static
25dd5c02 77Static dialog library.
d2a77f7f 78
d4d53770 79%description static -l pl.UTF-8
25dd5c02 80Statyczna biblioteka dialog.
d2a77f7f 81
92313b76 82%prep
53ff8074 83%setup -q -n %{name}-%{ver}-%{sdate}
92313b76 84
85%build
53ff8074
AF
86%configure \
87 --with-libtool \
88 --with-ncursesw \
d50a0a9a
JB
89 --enable-nls \
90 --enable-widec
d2a77f7f 91
53ff8074 92%{__make}
92313b76 93
94%install
9f01d675 95rm -rf $RPM_BUILD_ROOT
47c16b19 96install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92313b76 97
3a3a8d17 98%{__make} install \
53ff8074 99 DESTDIR=$RPM_BUILD_ROOT
d2a77f7f 100
47c16b19 101cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92313b76 102
7cc32508 103bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
60b655a2 104
53ff8074
AF
105%find_lang %{name}
106
92313b76 107%clean
108rm -rf $RPM_BUILD_ROOT
109
4ef7c0e1
JB
110%post -p /sbin/ldconfig
111%postun -p /sbin/ldconfig
112
53ff8074 113%files -f %{name}.lang
b7e62594 114%defattr(644,root,root,755)
47c16b19 115%doc CHANGES README
c7b857d6 116%attr(755,root,root) %{_bindir}/dialog
0c09f545 117%attr(755,root,root) %{_libdir}/libdialog.so.*.*.*
14266e31 118%attr(755,root,root) %ghost %{_libdir}/libdialog.so.15
d50a0a9a
JB
119%{_mandir}/man1/dialog.1*
120%lang(hu) %{_mandir}/hu/man1/dialog.1*
121%lang(pl) %{_mandir}/pl/man1/dialog.1*
92313b76 122
d2a77f7f
AF
123%files devel
124%defattr(644,root,root,755)
7636c2ce 125%attr(755,root,root) %{_bindir}/dialog-config
47c16b19
JB
126%attr(755,root,root) %{_libdir}/libdialog.so
127%{_libdir}/libdialog.la
d50a0a9a
JB
128%{_includedir}/dialog.h
129%{_includedir}/dlg_*.h
47c16b19 130%{_mandir}/man3/dialog.3*
16fd492c 131%dir %{_examplesdir}/%{name}-%{version}
14266e31 132%dir %{_examplesdir}/%{name}-%{version}/copifuncs
16fd492c 133%{_examplesdir}/%{name}-%{version}/README
134%{_examplesdir}/%{name}-%{version}/*.txt
2e7e102b
MK
135%{_examplesdir}/%{name}-%{version}/*.rc
136%{_examplesdir}/%{name}-%{version}/dialog*
137%{_examplesdir}/%{name}-%{version}/report*
138%{_examplesdir}/%{name}-%{version}/setup*
139%{_examplesdir}/%{name}-%{version}/testdata-8bit
140%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/buildlist*
141%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/calendar*
16fd492c 142%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist
143%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist9
144%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist[!9]*
14266e31 145%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/copifuncs/*
2e7e102b 146%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/dft*
14266e31 147%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/dselect*
2e7e102b
MK
148%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/editbox*
149%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/form*
150%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/fselect*
151%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/gauge*
152%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/infobox*
153%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/inputbox*
154%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/inputmenu*
155%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/killall
156%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/listing
157%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/menubox*
158%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/mixedform*
159%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/mixedgauge
160%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/msgbox*
161%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/password*
162%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/pause*
163%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/prgbox*
164%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/programbox*
165%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/progress*
166%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/radiolist*
167%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/rangebox*
168%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/rotated-data
169%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/shortlist
170%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/tailbox*
16fd492c 171%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/textbox
2e7e102b
MK
172%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/textbox[0-9\-]*
173%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/timebox*
174%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/treeview*
16fd492c 175%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/wheel
2e7e102b
MK
176%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/with*
177%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/yesno*
d2a77f7f
AF
178
179%files static
25dd5c02 180%defattr(644,root,root,755)
47c16b19 181%{_libdir}/libdialog.a
This page took 0.0831190000000001 seconds and 4 git commands to generate.