]> git.pld-linux.org Git - packages/cdk.git/blob - cdk.spec
- adapterized, pl descriptions
[packages/cdk.git] / cdk.spec
1 %define         ver_ver     4.9.10
2 %define         ver_release 20010106
3
4 Summary:        Curses Development Kit
5 Summary(pl):    Zestaw programistyczny do Curses
6 Name:           cdk
7 Version:        %{ver_ver}_td%{ver_release}
8 Release:        2
9 License:        BSD
10 Group:          Libraries
11 Group(de):      Libraries
12 Group(es):      Bibliotecas
13 Group(fr):      Librairies
14 Group(pl):      Biblioteki
15 Group(pt_BR):   Bibliotecas
16 Group(ru):      âÉÂÌÉÏÔÅËÉ
17 Group(uk):      â¦Â̦ÏÔÅËÉ
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)
22
23 %description
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.
28
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.
31
32 %description -l pl
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.
38
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.
41
42 %package devel
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}
54
55 %description devel
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.
59
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.
64
65 %package static
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}
77
78 %description static
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.
81
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.
86
87 %prep
88 %setup -q -n %{name}-%{ver_ver}-%{ver_release}
89 %patch0 -p1
90 mkdir include/cdk
91 mv -f include/*.* include/cdk
92
93 %build
94 # -funsigned-char gives valid 8bit display
95 CFLAGS="%{rpmcflags} -funsigned-char"
96 %configure2_13 \
97         --disable-x \
98         --with-ncurses
99 %{__make}
100 %{__make} cdkshlib
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} installCDKSHLibrary installCDKLibrary \
106         DESTDIR="$RPM_BUILD_ROOT"
107
108 %{__make} installCDKHeaderFiles installCDKManPages \
109         DESTDIR="$RPM_BUILD_ROOT"
110
111 gzip -9nf BUGS CHANGES EXPANDING NOTES README TODO
112
113 for d in demos examples; do 
114    rm -f $d/Makefile.in
115    mkf=$d/Makefile
116    sed 's|\-I%{_prefix}/X11R6/include|\-I%{_includedir}/cdk/|' <$mkf >$mkf.fix
117    mv -f $mkf.fix $mkf
118 done
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post   -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
125
126 %files
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129
130 %files devel
131 %defattr(644,root,root,755)
132 %doc *gz examples demos
133 %attr(755,root,root) %{_libdir}/lib*.so
134 %{_includedir}/*
135 %{_mandir}/man3/*
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/lib*.a
This page took 0.065421 seconds and 3 git commands to generate.