]> git.pld-linux.org Git - packages/tix.git/blob - tix.spec
05bed5ca6459ce7fc0dae0d309ea4ea9a438a54a
[packages/tix.git] / tix.spec
1 %define         major 8.4
2 Summary:        Many metawidgets (such as notepads) for Tk
3 Summary(de.UTF-8):      Zahlreiche Metawidgets (wie etwa Notepads) für Tk
4 Summary(fr.UTF-8):      Nombreux meta-widgets (comme les bloc-notes) pour Tk
5 Summary(pl.UTF-8):      Wiele widgetów (takich jak notepad) dla Tk
6 Summary(tr.UTF-8):      Tk için ek arayüz elemanları (not defterleri v.b.)
7 Name:           tix
8 Version:        %{major}.0
9 Release:        2
10 Epoch:          1
11 License:        BSD
12 Group:          Development/Languages/Tcl
13 Source0:        http://dl.sourceforge.net/tix/%{name}-%{version}.tar.gz
14 # Source0-md5:  7fcd84a1a6e27e432cb07284b7a34317
15 Patch0:         %{name}-scriptpaths.patch
16 Patch1:         %{name}-tcl85_hack.patch
17 URL:            http://tix.sourceforge.net/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  tcl-devel >= 8.4.6
21 BuildRequires:  tk-devel >= 8.4.6
22 BuildRequires:  which
23 BuildRequires:  xorg-lib-libX11-devel
24 Requires:       tcl >= 8.4.6
25 Requires:       tk >= 8.4.6
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Tix is a add on for the Tk widget set which adds many complex widgets
30 which are built from Tk building blocks. The extra widgets include
31 combo box, file selection, notebooks, paned windows, spin controls,
32 and hierarchical list boxes.
33
34 %description -l de.UTF-8
35 Tix ist ein Zusatzprogramm für den 'Tk widget set', das viele komplexe
36 Widgets hinzufügt, die aus Tk-Bausteinen bestehen, z.B.
37 Kombinationsfelder, Dateiauswahl, Notizblöcke, überlappende Fenster,
38 Drehknöpfe und hierarchische Listenfelder.
39
40 %description -l fr.UTF-8
41 tix est un ajout à l'ensemble des widgets Tk qui apporte de nombreux
42 widgets complexes construits à partir des briques de Tk. Les widgets
43 supplémentaires incluent les combo box, la sélection de fichiers, les
44 notebooks, les fenêtres « paned » et les listes hiérarchisées.
45
46 %description -l pl.UTF-8
47 Tix jest dodatkiem dla Tk, zawierającym wiele interesujących widgetów.
48
49 %description -l tr.UTF-8
50 Tix, Tk yapıtaşları kullanılarak oluşturulmuş bir çok karmaşık arayüz
51 elemanı bulunduran bir eklemedir. Bu yeni elemanlar arasında çoktan
52 seçmeli kutular, dosya seçim kutuları, not defterleri, çok kısımlı
53 pencereler yer almaktadır.
54
55 %package devel
56 Summary:        Tix development documentation
57 Summary(pl.UTF-8):      Dokumentacja programisty do rozszerzenia Tix
58 Group:          Development/Languages/Tcl
59 Requires:       %{name} = %{epoch}:%{version}-%{release}
60
61 %description devel
62 Tix development documentation.
63
64 %description devel -l pl.UTF-8
65 Dokumentacja programisty do rozszerzenia Tix.
66
67 %package demo
68 Summary:        Tix - demo programs
69 Summary(pl.UTF-8):      Tix - programy demostracjne
70 Group:          Development/Languages/Tcl
71 Requires:       %{name} = %{epoch}:%{version}-%{release}
72
73 %description demo
74 Tix - demo programs.
75
76 %description demo -l pl.UTF-8
77 Tix - programy demostracjne.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82 %patch1 -p1
83
84 %build
85 %{__aclocal} -I tclconfig
86 %{__autoconf}
87 %configure \
88         --enable-shared
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT{%{_mandir},%{_examplesdir}/%{name}-%{version}}
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 install -d $RPM_BUILD_ROOT%{_mandir}/mann
100 install man/*.n $RPM_BUILD_ROOT%{_mandir}/mann
101
102 cp -af demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
103
104 rm -f $RPM_BUILD_ROOT%{_libdir}/Tix%{major}/bitmaps/mktransgif.tcl*
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %doc ABOUT.html ChangeLog README.txt index.html license.terms docs/FAQ.html
112 %dir %{_libdir}/Tix%{major}
113 %attr(755,root,root) %{_libdir}/Tix%{major}/libTix%{major}.so
114 %{_libdir}/Tix%{major}/*.tcl
115 %{_libdir}/Tix%{major}/bitmaps
116 %{_libdir}/Tix%{major}/pref
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc docs/*.txt docs/{pdf,tix-book}
121 %{_mandir}/mann/*
122
123 %files demo
124 %defattr(644,root,root,755)
125 %dir %{_examplesdir}/%{name}-%{version}
126 %dir %{_examplesdir}/%{name}-%{version}/demos
127 %{_examplesdir}/%{name}-%{version}/demos/Mk*.tcl
128 %{_examplesdir}/%{name}-%{version}/demos/bitmaps
129 %{_examplesdir}/%{name}-%{version}/demos/samples
130 %{_examplesdir}/%{name}-%{version}/demos/tclIndex
131 %{_examplesdir}/%{name}-%{version}/demos/widget
132 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/demos/tixwidgets.tcl
This page took 0.082418 seconds and 2 git commands to generate.