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