80 lines
2.0 KiB
RPMSpec
80 lines
2.0 KiB
RPMSpec
Name: libgudev
|
|
Version: 232
|
|
Release: 7
|
|
Summary: Library that provides GObject bindings for libudev
|
|
License: LGPLv2+
|
|
URL: https://wiki.gnome.org/Projects/libgudev
|
|
Source0: https://download.gnome.org/sources/libgudev/%{version}/%{name}-%{version}.tar.xz
|
|
Patch1: fix-test-assertion-with-umockdev.patch
|
|
|
|
BuildRequires: glib2-devel umockdev-devel gobject-introspection-devel pkgconfig libudev-devel gtk-doc libxslt
|
|
Provides: libgudev1 = %{version}-%{release}
|
|
Obsoletes: libgudev1 < %{version}-%{release}
|
|
|
|
%description
|
|
Library provides 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
|
|
Summary: Include files and Header files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: libgudev1-devel = %{version}-%{release}
|
|
Obsoletes: libgudev1-devel < %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure --enable-gtk-doc
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%check
|
|
make check
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{_libdir}/girepository-1.0/*
|
|
%{_libdir}/libgudev-1.0.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgudev-1.0.so
|
|
%{_libdir}/pkgconfig/gudev-1.0.pc
|
|
%{_includedir}/gudev-1.0/gudev/*.h
|
|
%{_datadir}/gir-1.0/GUdev-1.0.gir
|
|
|
|
%files help
|
|
%doc NEWS
|
|
%dir %{_datadir}/gtk-doc/html/gudev
|
|
%{_datadir}/gtk-doc/html/gudev/*
|
|
|
|
%changelog
|
|
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 232-7
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:optimization the spec
|
|
|
|
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 232-6
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:add the libxslt in buildrequires
|
|
|
|
* Thu Sep 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 232-5
|
|
- Package init
|
|
|