1 Summary: [incr Widgets] - object-oriented widget set based in [incr Tcl] and [incr Tk]
2 Summary(pl.UTF-8): [incr Widgets] - zbiór obiektowo zorientowanych widgetów opartych na [incr Tcl] i [incr Tk]
7 Group: Development/Languages/Tcl
8 Source0: http://downloads.sourceforge.net/incrtcl/%{name}-%{version}.tar.gz
9 # Source0-md5: cca62e022b0d561a2bba19bd56ecc667
10 Patch0: %{name}-nosrc.patch
11 URL: http://incrtcl.sourceforge.net/iwidgets/index.html
12 BuildRequires: autoconf >= 2.13
13 BuildRequires: tcl >= 8.6
14 BuildRequires: tk >= 8.6
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _ulibdir %{_prefix}/lib
23 [incr Widgets] is an object-oriented mega-widget set which extends
24 Tcl/Tk and is based on [incr Tcl] and [incr Tk]. This set of
25 mega-widgets delivers many new, general purpose widgets like option
26 menus, comboboxes, selection boxes, and various dialogs whose
27 couterparts are found in Motif and Windows. Since [incr Widgets] is
28 based on the [incr Tk] extension, the Tk framework of configuration
29 options, widget commands, and default bindings is maintained. In other
30 words, each [incr Widgets] mega-widget seamlessly blends with the
31 standard Tk widgets. They look, act and feel like Tk widgets. In
32 addition, all [incr Widgets] mega-widgets are object oriented and may
33 themselves be extended, using either inheritance or composition.
35 %description -l pl.UTF-8
36 [incr Widgets] to zbiór zorientowanych obiektowo mega-widgetów
37 rozszerzający Tcl/Tk, oparty na [incr Tcl] i [incr Tk]. Ten zbiór
38 mega-widgetów zawiera wiele nowych widgetów ogólnego przeznaczenia,
39 takich jak menu opcji, kontrolki combobox, kontrolki wyboru oraz różne
40 okna dialogowe, których odpowiedniki można znaleźć w Motifie lub
41 Windows. Jako że [incr Widgets] jest oparty na rozszerzeniu [incr Tk],
42 zachowany jest szkielet Tk opcji konfiguracyjnych, polecenia widgetów
43 oraz domyślne powiązania. Innymi słowy, każdy mega-widget [incr
44 Widgets] komponują się idealnie ze standardowymi widgetami Tk.
45 Wyglądają i zachowują się tak samo, jak widgety Tk. Ponadto wszystkie
46 mega-widgety [incr Widgets] są zorientowane obiektowo i mogą być
47 rozszerzane - poprzez dziedziczenie lub składanie.
50 Summary: Examples for iwidgets
51 Summary(pl.UTF-8): Przykłady dla biblioteki iwidgets
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
56 Examples for iwidgets.
58 %description examples -l pl.UTF-8
59 Przykłady dla biblioteki iwidgets.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
78 ln -sf %{_ulibdir}/iwidgets%{version} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets
80 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
81 %{__mv} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets%{version}/demos/* \
82 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
85 %{__rm} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets%{version}/license.terms
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
92 %doc README license.terms
94 %dir %{_ulibdir}/iwidgets%{version}
95 %{_ulibdir}/iwidgets%{version}/scripts
96 %{_ulibdir}/iwidgets%{version}/iwidgets.tcl
97 %{_ulibdir}/iwidgets%{version}/pkgIndex.tcl
98 %{_mandir}/mann/iwidgets_*.n*
101 %defattr(644,root,root,755)
102 %{_examplesdir}/%{name}-%{version}