|
Lines 3-16
Link Here
|
| 3 |
|
3 |
|
| 4 |
Name: tcl |
4 |
Name: tcl |
| 5 |
Version: 8.5.3 |
5 |
Version: 8.5.3 |
| 6 |
Release: alt1 |
6 |
Release: alt1.1 |
| 7 |
|
7 |
|
| 8 |
Summary: A Tool Command Language (TCL) |
8 |
Summary: A Tool Command Language (TCL) |
| 9 |
License: BSD |
9 |
License: BSD |
| 10 |
Group: Development/Tcl |
10 |
Group: Development/Tcl |
| 11 |
Url: http://www.tcl.tk/ |
11 |
Url: http://www.tcl.tk/ |
| 12 |
|
12 |
|
| 13 |
Source: %name-%version-%release.tar |
13 |
Source: %name-%version-alt1.tar |
| 14 |
|
14 |
|
| 15 |
BuildRequires(pre): rpm-build-tcl >= 0.4-alt1 |
15 |
BuildRequires(pre): rpm-build-tcl >= 0.4-alt1 |
| 16 |
%{?_with_test:BuildConflicts: tcl-vfs} |
16 |
%{?_with_test:BuildConflicts: tcl-vfs} |
|
Lines 29-34
Link Here
|
| 29 |
Requires: %name = %version-%release |
29 |
Requires: %name = %version-%release |
| 30 |
Requires: rpm-build-tcl >= 0.3-alt1 |
30 |
Requires: rpm-build-tcl >= 0.3-alt1 |
| 31 |
|
31 |
|
|
|
32 |
%package devel-man |
| 33 |
Summary: man pages for TCL devel |
| 34 |
Group: Documentation |
| 35 |
BuildArch: noarch |
| 36 |
Requires: %name = %version-%release |
| 37 |
Conflicts: %name < %version-%release |
| 38 |
|
| 32 |
%description |
39 |
%description |
| 33 |
The Tcl (Tool Command Language) provides a powerful platform for |
40 |
The Tcl (Tool Command Language) provides a powerful platform for |
| 34 |
creating integration applications that tie together diverse |
41 |
creating integration applications that tie together diverse |
|
Lines 60-69
Link Here
|
| 60 |
|
67 |
|
| 61 |
This package includes header files and C programming manuals for Tcl. |
68 |
This package includes header files and C programming manuals for Tcl. |
| 62 |
|
69 |
|
|
|
70 |
%description devel-man |
| 71 |
The Tcl (Tool Command Language) provides a powerful platform for |
| 72 |
creating integration applications that tie together diverse |
| 73 |
applications, protocols, devices, and frameworks. When paired with |
| 74 |
the Tk toolkit, Tcl provides the fastest and most powerful way to |
| 75 |
create GUI applications that run on PCs, Unix, and the Macintosh. Tcl |
| 76 |
can also be used for a variety of web-related tasks and for creating |
| 77 |
powerful command languages for applications. |
| 78 |
|
| 79 |
This package includes man pages for Tcl development |
| 80 |
|
| 63 |
%prep |
81 |
%prep |
| 64 |
%setup |
82 |
%setup |
| 65 |
|
83 |
|
| 66 |
%build |
84 |
%build |
|
|
85 |
bzip2 --best --keep --force ChangeLog changes |
| 67 |
cd unix |
86 |
cd unix |
| 68 |
%__autoconf |
87 |
%__autoconf |
| 69 |
%configure --disable-rpath --enable-threads |
88 |
%configure --disable-rpath --enable-threads |
|
Lines 84-102
Link Here
|
| 84 |
exec %buildroot%_bindir/tclsh "\$@" |
103 |
exec %buildroot%_bindir/tclsh "\$@" |
| 85 |
EOF |
104 |
EOF |
| 86 |
chmod +x %__tclsh |
105 |
chmod +x %__tclsh |
|
|
106 |
echo "%%defattr(644,root,root,755)" > %name.lang |
| 107 |
for f in %buildroot%_tcldatadir/%name%major/msgs/*.msg; do |
| 108 |
n=$(basename $f .msg) |
| 109 |
echo "%%lang(${n:0:2}$(echo ${n:2:3} | tr '[[:lower:]]' '[[:upper:]]')) %_tcldatadir/%name%major/msgs/$(basename $f)" >> %name.lang |
| 110 |
done |
| 87 |
|
111 |
|
| 88 |
%post -n lib%{name} -p %post_ldconfig |
112 |
%post -n lib%{name} -p %post_ldconfig |
| 89 |
%postun -n lib%{name} -p %postun_ldconfig |
113 |
%postun -n lib%{name} -p %postun_ldconfig |
| 90 |
|
114 |
|
| 91 |
%files |
115 |
%files -f %name.lang |
| 92 |
%doc README license* ChangeLog changes |
116 |
%doc README license* |
| 93 |
%_bindir/tclsh* |
117 |
%_bindir/tclsh* |
| 94 |
%_tcldatadir/tcl8 |
118 |
%_tcldatadir/tcl8 |
| 95 |
%_tcldatadir/%name%major |
119 |
%dir %_tcldatadir/%name%major |
| 96 |
%exclude %_tcldatadir/%name%major/ldAix |
120 |
%_tcldatadir/%name%major/encoding |
| 97 |
%exclude %_tcldatadir/%name%major/%{name}AppInit.c |
121 |
%_tcldatadir/%name%major/http* |
|
|
122 |
%dir %_tcldatadir/%name%major/msgs |
| 123 |
%_tcldatadir/%name%major/opt* |
| 124 |
%_tcldatadir/%name%major/*.tcl |
| 125 |
%_tcldatadir/%name%major/tclIndex |
| 98 |
%_man1dir/* |
126 |
%_man1dir/* |
| 99 |
%_mandir/mann/* |
|
|
| 100 |
|
127 |
|
| 101 |
%files -n lib%name |
128 |
%files -n lib%name |
| 102 |
%dir %_tcllibdir |
129 |
%dir %_tcllibdir |
|
Lines 104-109
Link Here
|
| 104 |
%_libdir/lib%name%major.so |
131 |
%_libdir/lib%name%major.so |
| 105 |
|
132 |
|
| 106 |
%files devel |
133 |
%files devel |
|
|
134 |
%doc ChangeLog.?z* changes.* |
| 107 |
%_includedir/* |
135 |
%_includedir/* |
| 108 |
%_libdir/lib%name.so |
136 |
%_libdir/lib%name.so |
| 109 |
%_libdir/lib%{name}stub%{major}.a |
137 |
%_libdir/lib%{name}stub%{major}.a |
|
Lines 112-118
Link Here
|
| 112 |
%_datadir/aclocal/*.m4 |
140 |
%_datadir/aclocal/*.m4 |
| 113 |
%_man3dir/* |
141 |
%_man3dir/* |
| 114 |
|
142 |
|
|
|
143 |
%files devel-man |
| 144 |
%_mandir/mann/* |
| 145 |
|
| 115 |
%changelog |
146 |
%changelog |
|
|
147 |
* Mon Aug 11 2008 Led <led@altlinux.ru> 8.5.3-alt1.1 |
| 148 |
- added %name-devel-man subpackage |
| 149 |
|
| 116 |
* Mon Jun 30 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 8.5.3-alt1 |
150 |
* Mon Jun 30 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 8.5.3-alt1 |
| 117 |
- 8.5.3 released |
151 |
- 8.5.3 released |
| 118 |
|
152 |
|