]> git.pld-linux.org Git - packages/iwidgets.git/blob - iwidgets.spec
- updated to 4.1.1 release
[packages/iwidgets.git] / iwidgets.spec
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]
3 Name:           iwidgets
4 Version:        4.1.1
5 Release:        1
6 License:        BSD-like
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
15 Requires:       itcl >= 4.0
16 Requires:       itk >= 4.0
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _ulibdir        %{_prefix}/lib
21
22 %description
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.
34
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.
48
49 %package examples
50 Summary:        Examples for iwidgets
51 Summary(pl.UTF-8):      Przykłady dla biblioteki iwidgets
52 Group:          Development/Libraries
53 Requires:       %{name} = %{version}-%{release}
54
55 %description examples
56 Examples for iwidgets.
57
58 %description examples -l pl.UTF-8
59 Przykłady dla biblioteki iwidgets.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 %{__autoconf}
67 %configure \
68         --libdir=%{_ulibdir}
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 ln -sf %{_ulibdir}/iwidgets%{version} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets
79
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}
83
84 # packaged as %doc
85 %{__rm} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets%{version}/license.terms
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc README license.terms
93 %{_ulibdir}/iwidgets
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*
99
100 %files examples
101 %defattr(644,root,root,755)
102 %{_examplesdir}/%{name}-%{version}
This page took 0.077062 seconds and 3 git commands to generate.