|
|
@ -1,30 +1,29 @@
|
|
|
|
%define majorver 8.6
|
|
|
|
%define majorver 8.6
|
|
|
|
%define vers %{majorver}.8
|
|
|
|
%define vers %{majorver}.10
|
|
|
|
|
|
|
|
|
|
|
|
Summary: The graphical toolkit for the Tcl scripting language
|
|
|
|
Summary: The graphical toolkit for the Tcl scripting language
|
|
|
|
Name: tk
|
|
|
|
Name: tk
|
|
|
|
Version: %{vers}
|
|
|
|
Version: %{vers}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
License: TCL
|
|
|
|
License: TCL
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
URL: http://tcl.sourceforge.net
|
|
|
|
URL: http://tcl.sourceforge.net
|
|
|
|
Source0: http://download.sourceforge.net/sourceforge/tcl/%{name}%{version}-src.tar.gz
|
|
|
|
Source0: http://download.sourceforge.net/sourceforge/tcl/%{name}%{version}-src.tar.gz
|
|
|
|
Requires: tcl = %{epoch}:%{version}
|
|
|
|
Requires: tcl = %{epoch}:%{vers}
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
BuildRequires: make
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: tcl-devel = %{epoch}:%{version}, autoconf
|
|
|
|
BuildRequires: tcl-devel = %{epoch}:%{vers}, autoconf
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXft-devel
|
|
|
|
# panedwindow.n from itcl conflicts
|
|
|
|
# panedwindow.n from itcl conflicts
|
|
|
|
Conflicts: itcl <= 3.2
|
|
|
|
Conflicts: itcl <= 3.2
|
|
|
|
Obsoletes: tile <= 0.8.2
|
|
|
|
Obsoletes: tile <= 0.8.2
|
|
|
|
Provides: tile = 0.8.2
|
|
|
|
Provides: tile = 0.8.2
|
|
|
|
Patch1: tk-8.6.5-make.patch
|
|
|
|
Patch1: tk-8.6.10-make.patch
|
|
|
|
Patch2: tk-8.6.7-conf.patch
|
|
|
|
Patch2: tk-8.6.10-conf.patch
|
|
|
|
# fix implicit linkage of freetype that breaks xft detection (#677692)
|
|
|
|
Patch3: tk-8.6.7-no-fonts-fix.patch
|
|
|
|
Patch3: tk-8.6.5-fix-xft.patch
|
|
|
|
# https://core.tcl-lang.org/tk/tktview/dccd82bdc70dc25bb6709a6c14880a92104dda43
|
|
|
|
Patch4: tk-8.6.7-no-fonts-fix.patch
|
|
|
|
Patch4: tk-8.6.10-font-sizes-fix.patch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
When paired with the Tcl scripting language, Tk provides a fast and powerful
|
|
|
|
When paired with the Tcl scripting language, Tk provides a fast and powerful
|
|
|
@ -32,9 +31,8 @@ way to create cross-platform GUI applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Tk graphical toolkit development files
|
|
|
|
Summary: Tk graphical toolkit development files
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: tcl-devel = %{epoch}:%{version}
|
|
|
|
Requires: tcl-devel = %{epoch}:%{vers}
|
|
|
|
Requires: libX11-devel libXft-devel
|
|
|
|
Requires: libX11-devel libXft-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -44,18 +42,18 @@ way to create cross-platform GUI applications.
|
|
|
|
The package contains the development files and man pages for tk.
|
|
|
|
The package contains the development files and man pages for tk.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -n %{name}%{version} -q
|
|
|
|
%setup -n %{name}%{vers} -q
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .make
|
|
|
|
%patch1 -p1 -b .make
|
|
|
|
%patch2 -p1 -b .conf
|
|
|
|
%patch2 -p1 -b .conf
|
|
|
|
%patch3 -p1 -b .fix-xft
|
|
|
|
%patch3 -p1 -b .no-fonts-fix
|
|
|
|
%patch4 -p1 -b .no-fonts-fix
|
|
|
|
%patch4 -p1 -b .font-sizes-fix
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
cd unix
|
|
|
|
cd unix
|
|
|
|
autoconf
|
|
|
|
autoconf
|
|
|
|
%configure --enable-threads
|
|
|
|
%configure --enable-threads
|
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver}
|
|
|
|
%make_build CFLAGS="%{optflags}" TK_LIBRARY=%{_datadir}/%{name}%{majorver}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# do not run "make test" by default since it requires an X display
|
|
|
|
# do not run "make test" by default since it requires an X display
|
|
|
@ -88,12 +86,9 @@ sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %{bu
|
|
|
|
%pre
|
|
|
|
%pre
|
|
|
|
[ ! -h %{_prefix}/%{_lib}/%{name}%{majorver} ] || rm %{_prefix}/%{_lib}/%{name}%{majorver}
|
|
|
|
[ ! -h %{_prefix}/%{_lib}/%{name}%{majorver} ] || rm %{_prefix}/%{_lib}/%{name}%{majorver}
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_bindir}/wish*
|
|
|
|
%{_bindir}/wish*
|
|
|
|
%{_datadir}/%{name}%{majorver}
|
|
|
|
%{_datadir}/%{name}%{majorver}
|
|
|
|
%exclude %{_datadir}/%{name}%{majorver}/tkAppInit.c
|
|
|
|
%exclude %{_datadir}/%{name}%{majorver}/tkAppInit.c
|
|
|
@ -101,10 +96,9 @@ sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %{bu
|
|
|
|
%{_libdir}/%{name}%{majorver}
|
|
|
|
%{_libdir}/%{name}%{majorver}
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/mann/*
|
|
|
|
%{_mandir}/mann/*
|
|
|
|
%doc README changes license.terms
|
|
|
|
%doc README.md changes license.terms
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/lib%{name}stub%{majorver}.a
|
|
|
|
%{_libdir}/lib%{name}stub%{majorver}.a
|
|
|
@ -114,8 +108,41 @@ sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %{bu
|
|
|
|
%{_datadir}/%{name}%{majorver}/tkAppInit.c
|
|
|
|
%{_datadir}/%{name}%{majorver}/tkAppInit.c
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1:8.6.8-1
|
|
|
|
* Tue Jul 19 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.10-9
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Rebuilt for i686 release
|
|
|
|
|
|
|
|
Resolves: rhbz#2099398
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:8.6.10-8
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:8.6.10-7
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.10-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.10-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 1:8.6.10-4
|
|
|
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.10-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 13 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.10-2
|
|
|
|
|
|
|
|
- Fixed font sizes
|
|
|
|
|
|
|
|
Resolves: rhbz#1244729
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 26 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.10-1
|
|
|
|
|
|
|
|
- New version
|
|
|
|
|
|
|
|
- Upated patches
|
|
|
|
|
|
|
|
- Dropped fix-xft patch (upstreamed)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 6 2019 Tom Callaway <spot@fedoraproject.org> - 1:8.6.9.1-1
|
|
|
|
|
|
|
|
- update to 8.6.9.1
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.8-1
|
|
|
|
* Mon Mar 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.8-1
|
|
|
|
- New version
|
|
|
|
- New version
|
|
|
|