2024-01-06 04:33:17 +01:00
|
|
|
Name: libgudev
|
2024-01-06 04:33:17 +01:00
|
|
|
Version: 234
|
2024-01-06 04:33:17 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library providing GObject bindings for libudev
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://wiki.gnome.org/Projects/libgudev
|
|
|
|
Source: https://download.gnome.org/sources/libgudev/%{version}/libgudev-%{version}.tar.xz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libmount-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libselinux-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libsepol-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libudev-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-06 04:33:17 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is libgudev, a library providing GObject bindings for libudev. It used to be part of udev, then merged into systemd. It's now a project on its own.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:33:17 +01:00
|
|
|
%configure \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--disable-umockdev
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/libgudev-1.0.la
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgudev-1.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/GUdev-1.0.typelib
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/gudev-1.0
|
|
|
|
%dir %{_includedir}/gudev-1.0/gudev
|
|
|
|
%{_includedir}/gudev-1.0/gudev/gudev*.h
|
|
|
|
%{_libdir}/libgudev-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/gudev-1.0.pc
|
|
|
|
%{_datadir}/gir-1.0/GUdev-1.0.gir
|
|
|
|
%doc NEWS README
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/gudev
|
|
|
|
%{_datadir}/gtk-doc/html/gudev/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:33:17 +01:00
|
|
|
* Wed Sep 16 2020 Automatic Build System <autodist@mambasoft.it> 234-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 233-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
* Sun Nov 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 232-1mamba
|
|
|
|
- update to 232
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
* Sun Jun 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 230-1mamba
|
|
|
|
- package created using the webbuild interface
|