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