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