2 %define ver_release 20010106
4 Summary: Curses Development Kit
5 Summary(pl): Zestaw programistyczny do Curses
7 Version: %{ver_ver}_td%{ver_release}
12 Group(es): Bibliotecas
15 Group(pt_BR): Bibliotecas
18 URL: http://dickey.his.com/cdk/cdk.html
19 Source0: ftp://dickey.his.com/cdk/%{name}-%{ver_ver}-%{ver_release}.tgz
20 Patch0: %{name}-includes.patch
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 CDK is a widget set developed on top of the basic curses library. It
25 contains 21 ready to use widgets. Some which are a text entry field, a
26 scrolling list, a selection list, a alphalist, pull-down menu, radio
27 list, viewer widget, dialog box, and many more.
29 This version of CDK is maintained by Thomas Dickey and is not the same
30 as that at http://www.vexus.ca/CDK.html.
33 CDK to zestaw widgetów zbudowanych na podstawie biblioteki curses.
34 Zawiera 21 gotowych go u¿ycia widgetów. W¶ród nich jest pole
35 wprowadzania tekstu, lista przewijana, lista wyboru, lista
36 alfabetyczna, menu rozwijane, lista przycisków, przegl±darka, okienko
37 dialogowe i wiele innych.
39 Ta wersja CDK jest prowadzona przez Thomasa Dickeya i nie jest tym
40 samym, co znajduje siê pod adresem http://www.vexus.ca/CDK.html.
43 Summary: Header files and development documentation for CDK library
44 Summary(pl): Pliki nag³ówkowe i dokumentacja do CDK
45 Group: Development/Libraries
46 Group(de): Entwicklung/Libraries
47 Group(es): Desarrollo/Bibliotecas
48 Group(fr): Development/Librairies
49 Group(pl): Programowanie/Biblioteki
50 Group(pt_BR): Desenvolvimento/Bibliotecas
51 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
52 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
53 Requires: %{name} = %{version}
56 Header files and development documentation for CDK library. This
57 version is maintained by Thomas Dickey and is not the same as that at
58 http://www.vexus.ca/CDK.html.
60 %description devel -l pl
61 Pliki nag³ówkowe i dokumentacja programisty do biblioteki CDK. Ta
62 wersja jest prowadzona przez Thomasa Dickeya i nie jest tym samym, co
63 znajduje siê pod adresem http://www.vexus.ca/CDK.html.
66 Summary: Static version of CDK library
67 Summary(pl): Statyczna wersja biblioteki CDK
68 Group: Development/Libraries
69 Group(de): Entwicklung/Libraries
70 Group(es): Desarrollo/Bibliotecas
71 Group(fr): Development/Librairies
72 Group(pl): Programowanie/Biblioteki
73 Group(pt_BR): Desenvolvimento/Bibliotecas
74 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
75 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
76 Requires: %{name}-devel = %{version}
79 Static version of CDK library. This version is maintained by Thomas
80 Dickey and is not the same as that at http://www.vexus.ca/CDK.html.
82 %description static -l pl
83 Statyczna wersja biblioteki CDK. Ta wersja jest prowadzona przez
84 Thomasa Dickeya i nie jest tym samym, co znajduje siê pod adresem
85 http://www.vexus.ca/CDK.html.
88 %setup -q -n %{name}-%{ver_ver}-%{ver_release}
91 mv -f include/*.* include/cdk
94 # -funsigned-char gives valid 8bit display
95 CFLAGS="%{rpmcflags} -funsigned-char"
103 rm -rf $RPM_BUILD_ROOT
105 %{__make} installCDKSHLibrary installCDKLibrary \
106 DESTDIR="$RPM_BUILD_ROOT"
108 %{__make} installCDKHeaderFiles installCDKManPages \
109 DESTDIR="$RPM_BUILD_ROOT"
111 gzip -9nf BUGS CHANGES EXPANDING NOTES README TODO
113 for d in demos examples; do
116 sed 's|\-I%{_prefix}/X11R6/include|\-I%{_includedir}/cdk/|' <$mkf >$mkf.fix
121 rm -rf $RPM_BUILD_ROOT
123 %post -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
131 %defattr(644,root,root,755)
132 %doc *gz examples demos
133 %attr(755,root,root) %{_libdir}/lib*.so
138 %defattr(644,root,root,755)