2024-01-06 04:33:17 +01:00
|
|
|
Name: libgudev
|
2024-01-06 04:33:17 +01:00
|
|
|
Version: 237
|
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
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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}
|
|
|
|
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
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true
|
2024-01-06 04:33:17 +01:00
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
%meson_build
|
2024-01-06 04:33:17 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:33:17 +01:00
|
|
|
%meson_install
|
2024-01-06 04:33:17 +01:00
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
#rm -f %{buildroot}%{_libdir}/libgudev-1.0.la
|
2024-01-06 04:33:17 +01:00
|
|
|
|
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
|
2024-01-06 04:33:17 +01:00
|
|
|
%{_datadir}/vala/vapi/gudev-1.0.*
|
2024-01-06 04:33:17 +01:00
|
|
|
%{_datadir}/gir-1.0/GUdev-1.0.gir
|
2024-01-06 04:33:17 +01:00
|
|
|
%doc NEWS
|
2024-01-06 04:33:17 +01:00
|
|
|
|
|
|
|
%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
|
|
|
* Mon Aug 23 2021 Automatic Build System <autodist@mambasoft.it> 237-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:33:17 +01:00
|
|
|
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 236-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
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
|