]> git.pld-linux.org Git - packages/dialog.git/blame - dialog.spec
- rel.1
[packages/dialog.git] / dialog.spec
CommitLineData
53ff8074 1%define ver 1.0
477b0aac 2%define sdate 20060221
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}
42db8c70 10Release: 1
3a3a8d17 11Epoch: 1
53ff8074 12License: LGPL v2.1
3a3a8d17 13Group: Applications/Terminal
53ff8074 14Source0: ftp://invisible-island.net/dialog/%{name}-%{ver}-%{sdate}.tgz
477b0aac 15# Source0-md5: acfd843163394e8bb17c841fdbe9c4a4
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
JB
18Patch0: %{name}-link.patch
19Patch1: %{name}-pl.po-update.patch
53ff8074 20URL: http://invisible-island.net/dialog/dialog.html
47c16b19
JB
21BuildRequires: gettext-devel
22BuildRequires: ncurses-devel >= 5.4
23BuildRequires: libtool
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
47c16b19 37anzubieten. Unter %{_examplesdir}/%{name}-%{version} finden Sie
9f01d675 38einige Beispiele.
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
92313b76 88
89%build
53ff8074
AF
90%configure \
91 --with-libtool \
92 --with-ncursesw \
93 --enable-widec \
94 --enable-nls
d2a77f7f 95
53ff8074 96%{__make}
92313b76 97
98%install
9f01d675 99rm -rf $RPM_BUILD_ROOT
47c16b19 100install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92313b76 101
3a3a8d17 102%{__make} install \
53ff8074 103 DESTDIR=$RPM_BUILD_ROOT
d2a77f7f 104
47c16b19 105cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
92313b76 106
7cc32508 107bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
60b655a2 108
53ff8074
AF
109%find_lang %{name}
110
92313b76 111%clean
112rm -rf $RPM_BUILD_ROOT
113
4ef7c0e1
JB
114%post -p /sbin/ldconfig
115%postun -p /sbin/ldconfig
116
53ff8074 117%files -f %{name}.lang
b7e62594 118%defattr(644,root,root,755)
47c16b19 119%doc CHANGES README
c7b857d6 120%attr(755,root,root) %{_bindir}/dialog
47c16b19 121%attr(755,root,root) %{_libdir}/libdialog.so.*.*.*
537c4707 122%{_mandir}/man1/*
60b655a2 123%lang(hu) %{_mandir}/hu/man1/*
124%lang(pl) %{_mandir}/pl/man1/*
92313b76 125
d2a77f7f
AF
126%files devel
127%defattr(644,root,root,755)
47c16b19
JB
128%attr(755,root,root) %{_libdir}/libdialog.so
129%{_libdir}/libdialog.la
130%{_includedir}/*.h
131%{_mandir}/man3/dialog.3*
16fd492c 132%dir %{_examplesdir}/%{name}-%{version}
133%{_examplesdir}/%{name}-%{version}/README
134%{_examplesdir}/%{name}-%{version}/*.txt
135%{_examplesdir}/%{name}-%{version}/*.??
136%{_examplesdir}/%{name}-%{version}/install
137%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/[fgkmpry]*
138%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/copismall
139%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/ca*
140%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist
141%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist9
142%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/checklist[!9]*
143%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/in[fp]*
16fd492c 144%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/t[ai]*
145%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/tes*
146%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/textbox
147%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/textbox[0-9]
148%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/wheel
d8ef833f 149%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/listing
16fd492c 150%dir %{_examplesdir}/%{name}-%{version}/copifuncs
151%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/copifuncs/a*
16fd492c 152%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/copifuncs/com*
153%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/copifuncs/copi.[!t]*
154%{_examplesdir}/%{name}-%{version}/copifuncs/copi.t*
155%{_examplesdir}/%{name}-%{version}/copifuncs/ifpatch
d2a77f7f
AF
156
157%files static
25dd5c02 158%defattr(644,root,root,755)
47c16b19 159%{_libdir}/libdialog.a
This page took 0.080945 seconds and 4 git commands to generate.