Репозиторий Sisyphus
Последнее обновление: 19 ноября 2019 | Пакетов: 17513 | Посещений: 15802505
en ru br
Репозитории ALT

Группа :: Система/Настройка/Прочее
Пакет: sensorfw-pegatron

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:       sensorfw-pegatron
Summary:    Sensor framework integration for Pegatron Lucid tablets
Version:    0.4
Release:    alt2
Group:      System/Configuration/Other
License:    GPLv2
URL:        http://www.intel.com
Source0:    %{name}-%{version}.tar
Source100:  sensorfw-pegatron.yaml
Source101:  pegatron-lucid.setup
Patch0:     pegaorient-isvalid.patch
Patch1:     fix-missing-unistd.h.patch
BuildRequires:  libqt4-devel
BuildRequires:  sensorfw-devel
BuildRequires:  gcc-c++

# Use sensord-daemon-conf-setup

Requires: sensorfw > 0.7.2-alt1.83.3


%description
Sensor framework integration for Pegatron Lucid tablets (sold as
WeTab and ExoPC).  Includes support for synchronous ACPI
notification of orientation changes, raw accelerometer output, and
ambient light sensor.




%prep
%setup -q -n %{name}-%{version}
%patch0 -p2
%patch1

# >> setup

# << setup
find . -type f -name \*.pr\? | while read f; do sed -i 's|/usr/lib|%_libdir|' $f; done

%build
# >> build pre
# << build pre

PATH=$PATH:%_qt4dir/bin qmake

%make_build

# >> build post

# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install INSTALL_ROOT=%buildroot install
mv -v %buildroot%_sysconfdir/acpi/events/pegaorient-acpid.conf %buildroot%_sysconfdir/acpi/events/pegaorient

# >> install post

# << install post

install -D -m0644 %{SOURCE101} %buildroot%_sysconfdir/sensorfw/pegatron-lucid.setup


%files
%defattr(-,root,root,-)
%_libdir/sensord/libpegaorient.so
%_sysconfdir/acpi/events/pegaorient
%_sysconfdir/sensorfw/pegaals-range
%_sysconfdir/sensorfw/sensord-pegatron.conf
%_sysconfdir/X11/xorg.conf.d/80-suppress-accel.conf
%_sysconfdir/sensorfw/pegatron-lucid.setup
# >> files
# << files


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin