Compare commits
No commits in common. "a58463cbd9e3c2e59e5505d7362c543640579329" and "1d6cdd48f2eb440a3f11018c3fd482a7652ce63f" have entirely different histories.
a58463cbd9
...
1d6cdd48f2
BIN
libXt-1.2.0.tar.bz2
Normal file
BIN
libXt-1.2.0.tar.bz2
Normal file
Binary file not shown.
@ -1,11 +0,0 @@
|
|||||||
diff -Naur libXt-1.2.1.org/include/X11/Xtos.h libXt-1.2.1.sw/include/X11/Xtos.h
|
|
||||||
--- libXt-1.2.1.org/include/X11/Xtos.h 2022-02-26 01:04:27.600000000 +0000
|
|
||||||
+++ libXt-1.2.1.sw/include/X11/Xtos.h 2022-02-26 01:05:17.470000000 +0000
|
|
||||||
@@ -55,6 +55,7 @@
|
|
||||||
|
|
||||||
#if defined (_LP64) || \
|
|
||||||
defined(__alpha) || defined(__alpha__) || \
|
|
||||||
+ defined(__sw_64) || defined(__sw_64__) || \
|
|
||||||
defined(__ia64__) || defined(ia64) || \
|
|
||||||
defined(__sparc64__) || \
|
|
||||||
defined(__s390x__) || \
|
|
||||||
Binary file not shown.
38
libXt.spec
38
libXt.spec
@ -1,18 +1,15 @@
|
|||||||
%bcond_without static
|
|
||||||
|
|
||||||
Name: libXt
|
Name: libXt
|
||||||
Version: 1.2.1
|
Version: 1.2.0
|
||||||
Release: 5
|
Release: 0
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: X.Org X11 libXt runtime library
|
Summary: X.Org X11 libXt runtime library
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
Patch1: libXt-1.2.1-sw.patch
|
|
||||||
|
|
||||||
BuildRequires: xorg-x11-util-macros autoconf automake libtool make glib2-devel
|
BuildRequires: xorg-x11-util-macros autoconf automake libtool
|
||||||
BuildRequires: pkgconfig(xproto) pkgconfig(x11) pkgconfig(sm)
|
BuildRequires: xorg-x11-proto-devel libX11-devel libSM-devel libX11-devel
|
||||||
|
|
||||||
Requires: libX11 >= 1.6
|
Requires: libX11 >= 1.5.99.902
|
||||||
|
|
||||||
%description
|
%description
|
||||||
X.Org X11 libXt runtime library
|
X.Org X11 libXt runtime library
|
||||||
@ -32,16 +29,10 @@ The %{name}-devel package contains libraries and header files for %{name}.
|
|||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure --enable-unit-tests --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S" \
|
%configure --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
|
||||||
%if %{with static}
|
|
||||||
--disable-static
|
|
||||||
%endif
|
|
||||||
|
|
||||||
V=1 %make_build
|
V=1 %make_build
|
||||||
|
|
||||||
%check
|
|
||||||
make check
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
|
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
|
||||||
@ -59,9 +50,7 @@ mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/X11/*.h
|
%{_includedir}/X11/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%if %{without static}
|
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%endif
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -70,21 +59,6 @@ mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
|
|||||||
%{_docdir}/%{name}/*.xml
|
%{_docdir}/%{name}/*.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 17 2024 yangchenguang <yangchenguang@kylinsec.com.cn> - 1.2.1-5
|
|
||||||
- Modify sw_64 patch use all arch
|
|
||||||
|
|
||||||
* Wed Nov 23 2022 wuzx<wuzx1226@qq.com> - 1.2.1-4
|
|
||||||
- Add sw64 architecture
|
|
||||||
|
|
||||||
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 1.2.1-3
|
|
||||||
- disable static library by default
|
|
||||||
|
|
||||||
* Mon Jun 06 2022 wangkerong <wangkerong@h-partners.com> - 1.2.1-2
|
|
||||||
- enable test
|
|
||||||
|
|
||||||
* Thu Nov 25 2021 xingxing <xingxing9@huawei.com> - 1.2.1-1
|
|
||||||
- updata to 1.2.1
|
|
||||||
|
|
||||||
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.0-0
|
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.0-0
|
||||||
- updata package
|
- updata package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user