2 %define ver_release 20010106
4 Summary: Curses Development Kit
5 Summary(pl): Zestaw programistyczny do Curses
7 Version: %{ver_ver}_td%{ver_release}
11 URL: http://dickey.his.com/cdk/cdk.html
12 Source0: ftp://dickey.his.com/cdk/%{name}-%{ver_ver}-%{ver_release}.tgz
13 Patch0: %{name}-includes.patch
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 CDK is a widget set developed on top of the basic curses library. It
18 contains 21 ready to use widgets. Some which are a text entry field, a
19 scrolling list, a selection list, a alphalist, pull-down menu, radio
20 list, viewer widget, dialog box, and many more.
22 This version of CDK is maintained by Thomas Dickey and is not the same
23 as that at http://www.vexus.ca/CDK.html.
26 CDK to zestaw widgetów zbudowanych na podstawie biblioteki curses.
27 Zawiera 21 gotowych go u¿ycia widgetów. W¶ród nich jest pole
28 wprowadzania tekstu, lista przewijana, lista wyboru, lista
29 alfabetyczna, menu rozwijane, lista przycisków, przegl±darka, okienko
30 dialogowe i wiele innych.
32 Ta wersja CDK jest prowadzona przez Thomasa Dickeya i nie jest tym
33 samym, co znajduje siê pod adresem http://www.vexus.ca/CDK.html.
36 Summary: Header files and development documentation for CDK library
37 Summary(pl): Pliki nag³ówkowe i dokumentacja do CDK
38 Group: Development/Libraries
39 Requires: %{name} = %{version}
42 Header files and development documentation for CDK library. This
43 version is maintained by Thomas Dickey and is not the same as that at
44 http://www.vexus.ca/CDK.html.
46 %description devel -l pl
47 Pliki nag³ówkowe i dokumentacja programisty do biblioteki CDK. Ta
48 wersja jest prowadzona przez Thomasa Dickeya i nie jest tym samym, co
49 znajduje siê pod adresem http://www.vexus.ca/CDK.html.
52 Summary: Static version of CDK library
53 Summary(pl): Statyczna wersja biblioteki CDK
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}
58 Static version of CDK library. This version is maintained by Thomas
59 Dickey and is not the same as that at http://www.vexus.ca/CDK.html.
61 %description static -l pl
62 Statyczna wersja biblioteki CDK. Ta wersja jest prowadzona przez
63 Thomasa Dickeya i nie jest tym samym, co znajduje siê pod adresem
64 http://www.vexus.ca/CDK.html.
67 %setup -q -n %{name}-%{ver_ver}-%{ver_release}
70 mv -f include/*.* include/cdk
73 # -funsigned-char gives valid 8bit display
74 CFLAGS="%{rpmcflags} -funsigned-char"
82 rm -rf $RPM_BUILD_ROOT
84 %{__make} installCDKSHLibrary installCDKLibrary \
85 DESTDIR="$RPM_BUILD_ROOT"
87 %{__make} installCDKHeaderFiles installCDKManPages \
88 DESTDIR="$RPM_BUILD_ROOT"
90 gzip -9nf BUGS CHANGES EXPANDING NOTES README TODO
92 for d in demos examples; do
95 sed 's|\-I%{_prefix}/X11R6/include|\-I%{_includedir}/cdk/|' <$mkf >$mkf.fix
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110 %defattr(644,root,root,755)
111 %doc *gz examples demos
112 %attr(755,root,root) %{_libdir}/lib*.so
117 %defattr(644,root,root,755)