]> git.pld-linux.org Git - packages/dialog.git/blob - dialog.spec
- changed all BuildRoot definitons
[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:        1
9 Copyright:      GPL
10 Group:          Utilities/Terminal
11 Group(pl):      Narzêdzia/Terminal
12 Source:         ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
13 Patch0:         dialog-shared.patch
14 Patch1:         dialog-manpath.patch
15 BuildRequires:  gpm-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Dialog is a utility that allows you to build user interfaces in
20 a TTY (text mode only).  You can call dialog from within a shell
21 script to ask the user questions or present with choices in a more
22 user friendly manner.  See /usr/doc/dialog-*/samples for some
23 examples.
24
25 %description -l de
26 Dialog ist ein Dienstprogramm, das das Erstellen einer Benutzeroberfläche
27 in einem TTY ermöglicht (nur Textmodus). Sie können dialog mit einem
28 Shell-Script aufrufen, um dem Benutzer auf benutzerfreundliche Weise
29 Fragen zu stellen oder eine Auswahl anzubieten. Unter
30 /usr/src/examples/dialog-%{version} finden Sie einige Beispiele.
31
32 %description -l fr
33 dialog est un utilitaire permettant de construire des interfaces
34 utilisateur en mode texte. On peut appeler dialog à partir d'un
35 script shell pour poser des questions à l'utilisateur ou lui
36 proposer des choix de façon conviviale. 
37 Voir /usr/src/examples/dialog-%{version} pour quelques exemples.
38
39 %description -l pl
40 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego interfejsu
41 u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do programu
42 do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie pracy.
43
44 %description -l tr
45 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
46 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için, dialog
47 programýný bir kabuk programcýðý içinden çaðýrabilirsiniz. Örnekler için
48 /usr/src/examples/dialog-%{version} dizinine bakýnýz.
49
50 %package        devel
51 Summary:        Libraries and headers files for dialog
52 Summary(pl):    Biblioteki i pliki nagó³wkowe dla dialog
53 Group:          Development/Libraries
54 Group(pl):      Programowanie/Biblioteki
55 Requires:       %{name} = %{version}
56
57 %description devel
58 Libraries and headers files for dialog.
59
60 %description devel -l pl
61 Biblioteki i pliki nagó³wkowe dla dialog.
62
63 %package        static
64 Summary:        Static dialog library
65 Summary(pl):    Statyczna biblioteka dialog
66 Group:          Development/Libraries
67 Group(pl):      Programowanie/Biblioteki
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 Static dialog library.
72
73 %description static -l pl
74 Statyczna biblioteka dialog.
75
76 %prep
77 %setup  -q
78 %patch0 -p1 
79 %patch1 -p1
80
81 %build
82 autoconf && %configure
83
84 make depend shared all
85
86 %install
87 rm -rf $RPM_BUILD_ROOT 
88 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/man/man1,src/dialog}
89
90 make \
91     prefix=$RPM_BUILD_ROOT%{_prefix} \
92     mandir=$RPM_BUILD_ROOT%{_mandir} \
93     install
94
95 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_prefix}/src/dialog
96
97 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
98
99 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* dialog.lsm README CMDLINE
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc {dialog.lsm,README,CMDLINE}.gz
107
108 %attr(755,root,root) %{_bindir}/dialog
109 %attr(755,root,root) %{_libdir}/lib*.so.*
110 %{_mandir}/man1/*
111
112 %files devel
113 %defattr(644,root,root,755)
114
115 %attr(-  ,root,root) /usr/src/dialog
116 %attr(755,root,root) %{_libdir}/lib*.so
117
118 %{_includedir}/*
119 %{_mandir}/man3/*
120
121 %files static
122 %defattr(644,root,root,755)
123
124 %{_libdir}/lib*.a
This page took 0.059607 seconds and 4 git commands to generate.