2015-04-29 16:18:43 +00:00
|
|
|
Name: umockdev
|
2021-08-25 09:59:59 +00:00
|
|
|
Version: 0.16.2
|
2021-08-30 09:00:50 +00:00
|
|
|
Release: 2%{?dist}
|
2015-04-29 16:18:43 +00:00
|
|
|
Summary: Mock hardware devices
|
|
|
|
|
|
|
|
License: LGPLv2+
|
2017-01-24 15:22:47 +00:00
|
|
|
URL: https://github.com/martinpitt/%{name}
|
2021-05-04 09:01:48 +00:00
|
|
|
Source0: https://github.com/martinpitt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
2015-04-29 16:18:43 +00:00
|
|
|
|
2020-10-23 09:20:45 +00:00
|
|
|
BuildRequires: git
|
2020-11-17 13:52:08 +00:00
|
|
|
BuildRequires: meson
|
2015-04-29 16:18:43 +00:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libgudev1-devel systemd-devel
|
2021-07-01 08:56:33 +00:00
|
|
|
BuildRequires: libpcap-devel
|
2015-04-29 16:18:43 +00:00
|
|
|
BuildRequires: vala
|
2015-04-30 09:53:29 +00:00
|
|
|
BuildRequires: chrpath
|
2015-04-29 16:18:43 +00:00
|
|
|
|
2021-08-30 09:00:50 +00:00
|
|
|
# https://github.com/martinpitt/umockdev/pull/141
|
|
|
|
Patch0: 0001-docs-Work-around-creation-of-umockdev.types.patch
|
2021-08-25 10:33:47 +00:00
|
|
|
|
2015-04-29 16:18:43 +00:00
|
|
|
%description
|
|
|
|
With this program and libraries you can easily create mock udev objects.
|
|
|
|
This is useful for writing tests for software which talks to
|
|
|
|
hardware devices.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development packages for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains the libraries to develop
|
|
|
|
using %{name}.
|
|
|
|
|
|
|
|
%prep
|
2020-10-23 09:20:45 +00:00
|
|
|
%autosetup -S git -n %{name}-%{version}
|
2015-04-29 16:18:43 +00:00
|
|
|
|
|
|
|
%build
|
2020-11-17 13:52:08 +00:00
|
|
|
%meson -Dgtk_doc=true
|
|
|
|
%meson_build
|
2015-04-29 16:18:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
2020-11-17 13:52:08 +00:00
|
|
|
%meson_install
|
2015-04-29 16:18:43 +00:00
|
|
|
|
2015-04-29 16:51:07 +00:00
|
|
|
# Remove rpath
|
2015-04-30 10:09:31 +00:00
|
|
|
chrpath --delete %{buildroot}%{_bindir}/umockdev-record \
|
|
|
|
%{buildroot}%{_bindir}/umockdev-run
|
2015-04-29 16:51:07 +00:00
|
|
|
chrpath --delete %{buildroot}%{_libdir}/libumockdev.so.*
|
|
|
|
chrpath --delete %{buildroot}%{_libdir}/libumockdev-preload.so.*
|
|
|
|
|
2015-04-29 16:18:43 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev
|
|
|
|
|
2019-01-22 17:41:14 +00:00
|
|
|
%ldconfig_scriptlets
|
2015-04-29 16:18:43 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2021-07-01 08:56:33 +00:00
|
|
|
%doc README.md
|
2015-04-29 16:18:43 +00:00
|
|
|
%{_bindir}/umockdev-*
|
|
|
|
%{_libdir}/libumockdev.so.*
|
2020-11-17 13:52:08 +00:00
|
|
|
%{_libdir}/libumockdev-preload.so*
|
2015-04-29 16:18:43 +00:00
|
|
|
%{_libdir}/girepository-1.0/UMockdev-1.0.typelib
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc docs/script-format.txt docs/examples/battery.c docs/examples/battery.py
|
|
|
|
%{_libdir}/libumockdev.so
|
|
|
|
%{_libdir}/pkgconfig/umockdev-1.0.pc
|
|
|
|
%{_datadir}/gir-1.0/UMockdev-1.0.gir
|
|
|
|
%{_includedir}/umockdev-1.0
|
|
|
|
%{_datadir}/gtk-doc/html/umockdev/
|
|
|
|
%{_datadir}/vala/vapi/umockdev-1.0.vapi
|
|
|
|
|
|
|
|
%changelog
|
2021-08-30 09:00:50 +00:00
|
|
|
* Mon Aug 30 2021 Bastien Nocera <bnocera@redhat.com> - 0.16.2-2
|
|
|
|
+ umockdev-0.16.2-2
|
|
|
|
- Better build fix patch
|
|
|
|
|
2021-08-25 09:59:59 +00:00
|
|
|
* Wed Aug 25 2021 Bastien Nocera <bnocera@redhat.com> - 0.16.2-1
|
|
|
|
+ umockdev-0.16.2-1
|
|
|
|
- Update to 0.16.2
|
|
|
|
|
2021-07-23 20:00:08 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-02 13:11:01 +00:00
|
|
|
* Fri Jul 02 2021 Bastien Nocera <bnocera@redhat.com> - 0.16.1-1
|
|
|
|
+ umockdev-0.16.1-1
|
|
|
|
- Update to 0.16.1
|
|
|
|
|
2021-07-01 08:56:33 +00:00
|
|
|
* Thu Jul 01 2021 Bastien Nocera <bnocera@redhat.com> - 0.16.0-1
|
|
|
|
+ umockdev-0.16.0-1
|
|
|
|
- Update to 0.16.0
|
|
|
|
|
2021-05-20 18:11:42 +00:00
|
|
|
* Thu May 20 2021 Martin Pitt <mpitt@redhat.com> - 0.15.5-2
|
|
|
|
- Drop gphoto2 build dependency (rhbz#1962633)
|
|
|
|
|
2021-05-04 09:01:48 +00:00
|
|
|
* Tue May 04 2021 Bastien Nocera <bnocera@redhat.com> - 0.15.5-1
|
|
|
|
+ umockdev-0.15.5-1
|
|
|
|
- Update to 0.15.5
|
|
|
|
|
2021-01-27 22:38:11 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-04 10:30:36 +00:00
|
|
|
* Sun Jan 03 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.15.4-1
|
|
|
|
- Update to 0.15.4 (#1901619)
|
|
|
|
|
2020-12-27 21:43:16 +00:00
|
|
|
* Sun Dec 27 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.15.3-1
|
|
|
|
- Update to 0.15.3 (#1901619)
|
|
|
|
|
2020-11-17 13:52:08 +00:00
|
|
|
* Tue Nov 17 2020 Bastien Nocera <bnocera@redhat.com> - 0.15.1-1
|
|
|
|
+ umockdev-0.15.1-1
|
|
|
|
- Update to 0.15.1
|
|
|
|
|
2020-10-23 14:28:42 +00:00
|
|
|
* Fri Oct 23 2020 Bastien Nocera <bnocera@redhat.com> - 0.14.4-1
|
|
|
|
+ umockdev-0.14.4-1
|
|
|
|
- Update to 0.14.4
|
|
|
|
|
2020-10-23 09:20:45 +00:00
|
|
|
* Thu Oct 22 2020 Bastien Nocera <bnocera@redhat.com> - 0.14.3-2
|
|
|
|
+ umockdev-0.14.3-2
|
|
|
|
- Better debug for missing functions
|
|
|
|
|
2020-08-24 09:10:09 +00:00
|
|
|
* Mon Aug 24 2020 Bastien Nocera <bnocera@redhat.com> - 0.14.3-1
|
|
|
|
+ umockdev-0.14.3-1
|
|
|
|
- Update to 0.14.3
|
|
|
|
|
2020-07-31 09:20:15 +00:00
|
|
|
* Fri Jul 31 2020 Bastien Nocera <bnocera@redhat.com> - 0.14.2-1
|
|
|
|
+ umockdev-0.14.2-1
|
|
|
|
- Update to 0.14.2 (#1861973)
|
|
|
|
|
2020-07-29 13:15:01 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-12 14:52:37 +00:00
|
|
|
* Wed Feb 12 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.14.1-1
|
|
|
|
- Update to 0.14.1 (#1802194)
|
|
|
|
|
2020-02-08 23:12:46 +00:00
|
|
|
* Sun Feb 09 2020 Bastien Nocera <bnocera@redhat.com> - 0.14-1
|
|
|
|
+ umockdev-0.14-1
|
|
|
|
- Fix FTBS (#1800217)
|
|
|
|
|
2020-01-31 02:32:30 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-09-02 14:56:51 +00:00
|
|
|
* Mon Sep 02 2019 Bastien Nocera <bnocera@redhat.com> - 0.13.2-1
|
|
|
|
+ umockdev-0.13.2-1
|
|
|
|
- Update to 0.13.2 (#1747088)
|
|
|
|
|
2019-08-19 09:02:14 +00:00
|
|
|
* Mon Aug 19 2019 Bastien Nocera <bnocera@redhat.com> - 0.13.1-1
|
|
|
|
+ umockdev-0.13.1-1
|
|
|
|
- Update to 0.13.1 (#1742178)
|
|
|
|
|
2019-07-27 02:26:06 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-29 11:42:53 +00:00
|
|
|
* Wed May 29 2019 Christian Kellner <ckellner@redhat.com> - 0.12.1-1
|
|
|
|
- Update to umockdev-0.12.1
|
|
|
|
|
2019-02-03 10:45:31 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 08:12:07 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-06 12:46:05 +00:00
|
|
|
* Wed Jun 06 2018 Bastien Nocera <bnocera@redhat.com> - 0.11.3-1
|
|
|
|
+ umockdev-0.11.3-1
|
|
|
|
- Update to 0.11.3 (#1550306)
|
|
|
|
|
2018-03-28 08:34:26 +00:00
|
|
|
* Wed Mar 28 2018 Bastien Nocera <bnocera@redhat.com> - 0.11.2-1
|
|
|
|
+ umockdev-0.11.2-1
|
|
|
|
- Update to 0.11.2 (#1550306)
|
|
|
|
|
2018-03-01 16:39:39 +00:00
|
|
|
* Thu Mar 01 2018 Bastien Nocera <bnocera@redhat.com> - 0.11.1-1
|
|
|
|
+ umockdev-0.11.1-1
|
|
|
|
- Update to 0.11.1
|
|
|
|
|
2018-02-12 10:10:32 +00:00
|
|
|
* Mon Feb 12 2018 Bastien Nocera <bnocera@redhat.com> - 0.11-1
|
|
|
|
+ umockdev-0.11-1
|
|
|
|
- Update to 0.11 (#1544128)
|
|
|
|
|
2018-02-09 19:57:59 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-08 00:28:21 +00:00
|
|
|
* Mon Jan 08 2018 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.10-1
|
|
|
|
- Update to 0.10 (#1490889)
|
|
|
|
|
2017-08-10 15:18:53 +00:00
|
|
|
* Thu Aug 10 2017 Bastien Nocera <bnocera@redhat.com> - 0.9.2-1
|
|
|
|
- Update to 0.9.2
|
|
|
|
|
2017-08-03 09:45:37 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:57:17 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:41:21 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-26 10:29:13 +00:00
|
|
|
* Thu Jan 26 2017 Bastien Nocera <bnocera@redhat.com> - 0.8.13-1
|
|
|
|
+ umockdev-0.8.13-1
|
|
|
|
- Update to 0.8.13
|
|
|
|
|
2017-01-24 15:22:47 +00:00
|
|
|
* Tue Jan 24 2017 Bastien Nocera <bnocera@redhat.com> - 0.8.12-1
|
|
|
|
+ umockdev-0.8.12-1
|
|
|
|
- Update to 0.8.12
|
|
|
|
|
2016-02-05 02:18:54 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-09-23 14:55:40 +00:00
|
|
|
* Wed Sep 23 2015 Bastien Nocera <bnocera@redhat.com> 0.8.11-1
|
|
|
|
- Update to 0.8.11
|
|
|
|
|
2015-06-19 01:30:55 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-29 16:18:43 +00:00
|
|
|
* Wed Apr 29 2015 Bastien Nocera <bnocera@redhat.com> 0.8.8-3
|
|
|
|
- Fix license/doc mixup
|
|
|
|
- Add isa to Requires
|
|
|
|
|
|
|
|
* Wed Apr 29 2015 Bastien Nocera <bnocera@redhat.com> 0.8.8-2
|
|
|
|
- Review comments
|
|
|
|
|
|
|
|
* Mon Apr 27 2015 Bastien Nocera <bnocera@redhat.com> 0.8.8-1
|
|
|
|
- Initial package for Fedora
|