update to 1.1 and add docs subpkg

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-07-23 16:41:34 +03:00
parent 5fd4ffff36
commit 500e984804
3 changed files with 24 additions and 9 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/iio-sensor-proxy-1.0.tar.xz /iio-sensor-proxy-1.0.tar.xz
/iio-sensor-proxy-1.1.tar.xz

View File

@ -1,16 +1,16 @@
Name: iio-sensor-proxy Name: iio-sensor-proxy
Version: 1.0 Version: 1.1
Release: 6%{?dist} Release: 1%{?dist}
Summary: IIO accelerometer sensor to input device proxy Summary: IIO accelerometer sensor to input device proxy
License: GPLv3+ License: GPLv3+
URL: https://github.com/hadess/iio-sensor-proxy URL: https://github.com/hadess/iio-sensor-proxy
Source0: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz Source0: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
# https://github.com/hadess/iio-sensor-proxy/commit/ea1801cea677474f32d6687bb94d8cab0fecc918
Patch0: 0001-rules-Fix-ACTION-equality-check.patch
BuildRequires: git BuildRequires: gtk-doc
BuildRequires: pkgconfig(udev) pkgconfig(gio-2.0) pkgconfig(gudev-1.0) BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: systemd BuildRequires: systemd
Requires(post): systemd Requires(post): systemd
@ -20,11 +20,18 @@ Requires(postun): systemd
%description %description
%{summary}. %{summary}.
%package docs
Summary: Documentation for %{name}
BuildArch: noarch
%description docs
This package contains the documentation for %{name}.
%prep %prep
%autosetup -S git %autosetup
%build %build
%configure --disable-silent-rules %configure --disable-silent-rules --enable-gtk-doc
%make_build %make_build
%install %install
@ -49,7 +56,14 @@ Requires(postun): systemd
%{_udevrulesdir}/40-%{name}.rules %{_udevrulesdir}/40-%{name}.rules
%{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf %{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf
%files docs
%{_datadir}/gtk-doc/html/%{name}/
%changelog %changelog
* Thu Jul 23 2015 Igor Gnatenko <ignatenko@src.gnome.org> - 1.1-1
- Update to 1.1
- Add -docs subpackage
* Tue Jun 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0-6 * Tue Jun 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.0-6
- Fix udev rule (RHBZ #1234744) - Fix udev rule (RHBZ #1234744)

View File

@ -1 +1 @@
c63fd69023a52adf369a371d22cc2ece iio-sensor-proxy-1.0.tar.xz 1d8f466854364b2b3decb10152a28a22 iio-sensor-proxy-1.1.tar.xz