diff --git a/.gitignore b/.gitignore index e69de29..8cc4532 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,13 @@ +/iio-sensor-proxy-1.0.tar.xz +/iio-sensor-proxy-1.1.tar.xz +/iio-sensor-proxy-1.2.tar.xz +/iio-sensor-proxy-1.3.tar.xz +/iio-sensor-proxy-2.0.tar.xz +/iio-sensor-proxy-2.1.tar.xz +/iio-sensor-proxy-2.2.tar.xz +/iio-sensor-proxy-2.3.tar.xz +/iio-sensor-proxy-2.4.tar.xz +/iio-sensor-proxy-2.5.tar.xz +/iio-sensor-proxy-2.7.tar.xz +/iio-sensor-proxy-2.8.tar.xz +/iio-sensor-proxy-3.0.tar.xz diff --git a/iio-sensor-proxy.spec b/iio-sensor-proxy.spec new file mode 100644 index 0000000..f357c03 --- /dev/null +++ b/iio-sensor-proxy.spec @@ -0,0 +1,165 @@ +Name: iio-sensor-proxy +Version: 3.0 +Release: 2%{?dist} +Summary: IIO accelerometer sensor to input device proxy + +License: GPLv3+ +URL: https://github.com/hadess/iio-sensor-proxy +Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: gtk-doc +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: systemd +%{?systemd_requires} + +%description +%{summary}. + +%package docs +Summary: Documentation for %{name} +BuildArch: noarch + +%description docs +This package contains the documentation for %{name}. + +%prep +%autosetup + +%build +%configure \ + --disable-silent-rules \ + --enable-gtk-doc \ + --disable-gtk-tests \ # not really interested in sample progs + %{nil} +%make_build + +%install +%make_install + +%post +%systemd_post %{name}.service + +%preun +%systemd_preun %{name}.service + +%postun +%systemd_postun_with_restart %{name}.service + +%files +%license COPYING +%doc README +%{_bindir}/monitor-sensor +%{_sbindir}/%{name} +%{_unitdir}/%{name}.service +%{_udevrulesdir}/*-%{name}.rules +%{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf + +%files docs +%dir %{_datadir}/gtk-doc/ +%dir %{_datadir}/gtk-doc/html/ +%{_datadir}/gtk-doc/html/%{name}/ + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Mar 23 2020 Bastien Nocera - 3.0-1 ++ iio-sensor-proxy-3.0-1 +- Update to 3.0 + +* Wed Jan 29 2020 Fedora Release Engineering - 2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Sep 04 2019 Bastien Nocera - 2.8-1 ++ iio-sensor-proxy-2.8-1 +- Update to 2.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 07 2019 Bastien Nocera - 2.7-1 ++ iio-sensor-proxy-2.7-1 +- Update to 2.7 (#1709812) + +* Fri Feb 01 2019 Fedora Release Engineering - 2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 09 2018 Bastien Nocera - 2.5-1 ++ iio-sensor-proxy-2.5-1 +- Update to 2.5 + +* Fri Jul 13 2018 Fedora Release Engineering - 2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Feb 18 2018 Igor Gnatenko - 2.4-3 +- Add BuildRequires: make/gcc + +* Wed Feb 07 2018 Fedora Release Engineering - 2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Nov 02 2017 Bastien Nocera - 2.4-1 ++ iio-sensor-proxy-2.4-1 +- Update to 2.4 + +* Wed Sep 20 2017 Bastien Nocera - 2.3-1 ++ iio-sensor-proxy-2.3-1 +- Update to 2.3 + +* Wed Aug 02 2017 Fedora Release Engineering - 2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 15 2017 Igor Gnatenko - 2.2-1 +- Update to 2.2 + +* Fri Feb 10 2017 Fedora Release Engineering - 2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 02 2017 Igor Gnatenko - 2.1-1 +- Update to 2.1 + +* Mon Dec 12 2016 Igor Gnatenko - 2.0-1 +- Update to 2.0 + +* Fri Nov 18 2016 Igor Gnatenko - 1.3-2 +- Don't use hwdb update macro +- Trivial fixes + +* Sat Sep 17 2016 Bastien Nocera - 1.3-1 +- Update to 1.3 + +* Tue Sep 06 2016 Bastien Nocera - 1.2-1 +- Update to 1.2 + +* Thu Feb 04 2016 Fedora Release Engineering - 1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jul 23 2015 Igor Gnatenko - 1.1-1 +- Update to 1.1 +- Add -docs subpackage + +* Tue Jun 23 2015 Igor Gnatenko - 1.0-6 +- Fix udev rule (RHBZ #1234744) + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed May 27 2015 Igor Gnatenko - 1.0-4 +- use real license (GPLv3+) + +* Sun May 24 2015 Igor Gnatenko - 1.0-3 +- Fix license tag +- Disable silent building + +* Sat May 23 2015 Igor Gnatenko - 1.0-2 +- Use _udevrules dir instead of custom detecting rules dir + +* Sat May 23 2015 Igor Gnatenko - 1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..fd73993 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (iio-sensor-proxy-3.0.tar.xz) = 50e84a5df006c34db07532bdb583142723ad610ade7dc495d0c1b076c7ef84564a60202a8be378173a429bd04dee10e8b33e5b7acc4b3dd810755cb831ebf2ea