From 9012a721a9f4c20be17afb98279860ec7e43f95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 18:08:52 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libxkbfile#6680561496d683b2c36f801b2e623f02c9aecf13 --- .gitignore | 5 +++ libxkbfile.spec | 109 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 115 insertions(+) create mode 100644 libxkbfile.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..971779b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +libxkbfile-1.0.6.tar.bz2 +/libxkbfile-1.0.7.tar.bz2 +/libxkbfile-1.0.8.tar.bz2 +/libxkbfile-1.0.9.tar.bz2 +/libxkbfile-1.1.0.tar.bz2 diff --git a/libxkbfile.spec b/libxkbfile.spec new file mode 100644 index 0000000..c26f1c6 --- /dev/null +++ b/libxkbfile.spec @@ -0,0 +1,109 @@ +Summary: X.Org X11 libxkbfile runtime library +Name: libxkbfile +Version: 1.1.0 +Release: 4%{?dist} +License: MIT +URL: http://www.x.org + +Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 + +BuildRequires: pkgconfig(xproto) pkgconfig(x11) +BuildRequires: gcc + +%description +X.Org X11 libxkbfile runtime library + +%package devel +Summary: X.Org X11 libxkbfile development package +Requires: %{name} = %{version}-%{release} + +%description devel +X.Org X11 libxkbfile development package + +%prep +%setup -q + +%build +# FIXME: We use -fno-strict-aliasing, to work around the following bug: +# maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules) +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +# We intentionally don't ship *.la files +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%ldconfig_post +%ldconfig_postun + +%files +%doc COPYING ChangeLog +%{_libdir}/libxkbfile.so.1 +%{_libdir}/libxkbfile.so.1.0.2 + +%files devel +%{_includedir}/X11/extensions/XKBbells.h +%{_includedir}/X11/extensions/XKBconfig.h +%{_includedir}/X11/extensions/XKBfile.h +%{_includedir}/X11/extensions/XKBrules.h +%{_includedir}/X11/extensions/XKM.h +%{_includedir}/X11/extensions/XKMformat.h +%{_libdir}/libxkbfile.so +%{_libdir}/pkgconfig/xkbfile.pc + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Mar 20 2019 Adam Jackson - 1.1.0-1 +- libxkbfile 1.1.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jul 24 2018 Benjamin Tissoires 1.0.9-11 +- Add buildrequires gcc (#1604693 because of #1551327) + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.9-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 05 2018 Adam Jackson - 1.0.9-9 +- Drop useless %%defattr + +* Fri Jun 29 2018 Adam Jackson - 1.0.9-8 +- Use ldconfig scriptlet macros + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.9-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Feb 07 2017 Benjamin Tissoires +- Fixed changelog entry + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 01 2015 Adam Jackson 1.0.9-1 +- libxkbfile 1.0.9 diff --git a/sources b/sources new file mode 100644 index 0000000..6adedfb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libxkbfile-1.1.0.tar.bz2) = 1c6a57564e916ccdc3df3c49b9f3589f701df0cec55112c12ddc35ac3ed556608c28fe98e5ba0ac1962e9a65ed1e90eb7e6169b564951bf55a7cf3499b745826