From 101ce750e411e7bb0ab70ae6523bc6cdd076fec7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 10:41:56 +0000 Subject: import libgudev-237-1.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6b41dcd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libgudev-237.tar.xz diff --git a/.libgudev.metadata b/.libgudev.metadata new file mode 100644 index 0000000..6a4bce4 --- /dev/null +++ b/.libgudev.metadata @@ -0,0 +1 @@ +3ec66c925b9d22c385c3907c7ca3f2bb6c705d2c SOURCES/libgudev-237.tar.xz diff --git a/SPECS/libgudev.spec b/SPECS/libgudev.spec new file mode 100644 index 0000000..63cb2b0 --- /dev/null +++ b/SPECS/libgudev.spec @@ -0,0 +1,140 @@ +Name: libgudev +Version: 237 +Release: 1%{?dist} +Summary: GObject-based wrapper library for libudev + +License: LGPLv2+ +URL: https://wiki.gnome.org/Projects/libgudev +Source0: https://download.gnome.org/sources/libgudev/%{version}/libgudev-%{version}.tar.xz + +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: pkgconfig +BuildRequires: libudev-devel +BuildRequires: gtk-doc +BuildRequires: meson +# For tests +BuildRequires: umockdev-devel +BuildRequires: glibc-langpack-fr + +# Upstream promises to remove libgudev from systemd before this version +Provides: libgudev1 = %{version}-%{release} +Obsoletes: libgudev1 < 230 + +%description +This library makes it much simpler to use libudev from programs +already using GObject. It also makes it possible to easily use libudev +from other programming languages, such as Javascript, because of +GObject introspection support. + +%package devel +Summary: Header files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +Provides: libgudev1-devel = %{version}-%{release} +Obsoletes: libgudev1-devel < 230 + +%description devel +This package is necessary to build programs using %{name}. + +%prep +%autosetup -p1 + +%build +%meson -Dgtk_doc=true -Dtests=enabled -Dvapi=disabled +%meson_build + +%install +%meson_install + +%check +%meson_test + +%ldconfig_scriptlets + +%files +%license COPYING +%doc NEWS +%{_libdir}/libgudev-1.0.so.* +%{_libdir}/girepository-1.0/GUdev-1.0.typelib + +%files devel +%{_libdir}/libgudev-1.0.so +%dir %{_includedir}/gudev-1.0 +%dir %{_includedir}/gudev-1.0/gudev +%{_includedir}/gudev-1.0/gudev/*.h +%{_datadir}/gir-1.0/GUdev-1.0.gir +%dir %{_datadir}/gtk-doc/html/gudev +%{_datadir}/gtk-doc/html/gudev/* +%{_libdir}/pkgconfig/gudev-1.0* + + +%changelog +* Wed Aug 18 2021 Bastien Nocera - 237-1 ++ libgudev-237-1 +- Update to 237 +- Resolves: rhbz#1995044 + +* Mon Aug 09 2021 Mohan Boddu - 236-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 236-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 16 2021 Bastien Nocera - 236-1 ++ libgudev-236-1 +- Update to 236 + +* Tue Jan 26 2021 Fedora Release Engineering - 234-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Sep 15 2020 Bastien Nocera - 234-1 ++ libgudev-234-1 +- Update to 234 + +* Tue Jul 28 2020 Fedora Release Engineering - 232-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 232-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 232-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 232-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 232-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Feb 24 2018 Zbigniew Jędrzejewski-Szmek - 232-3 +- Pull in patch from upstream to fix build + +* Wed Feb 07 2018 Fedora Release Engineering - 232-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 232-2 +- Switch to %%ldconfig_scriptlets + +* Fri Sep 01 2017 Kalev Lember - 232-1 +- Update to 232 +- Enable self tests + +* Thu Aug 03 2017 Fedora Release Engineering - 230-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 230-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 230-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 230-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 230-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun May 31 2015 Zbigniew Jędrzejewski-Szmek - 230-1 +- Initial packaging