Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046747
en ru br
Репозитории ALT

Группа :: Эмуляторы
Пакет: wine-grdwine

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

# TODO:
%define optflags_lto %nil

Name: wine-grdwine
Version: 0.5.7
Release: alt1

Summary: Guardant usb dongle helper library for Wine

License: LGPLv2
Group: Emulators
Url: https://guardant.com

Packager: Konstantin Kondratyuk <kondratyuk at altlinux.org>

#Source-url: ftp://ftp.guardant.ru/support/linux/grdwine-%version.tar.gz

# Source-url: https://github.com/Etersoft/grdwine/archive/refs/tags/v%version.tar.gz
Source: %name-%version.tar

Source1: 90-grdnt.rules

Patch1: 0001-build-both-ELF-and-PE-parts.patch
Patch2: 0001-don-t-use-DLL_WINE_PREATTACH.patch

BuildRequires: libwine-devel >= 6.23

ExclusiveArch: %ix86 x86_64

%ifarch x86_64 aarch64
 %def_with build64
 %define winepkgname wine-grdwine
%else
 %def_without build64
 %define winepkgname wine-grdwine
%endif


%define libwinedir %_libdir/wine

# TODO: move to rpm-macros-wine

# set arch dependent dirs
%ifarch %{ix86}
%define winepedir i386-windows
%define winesodir i386-unix
%endif
%ifarch x86_64
%define winepedir x86_64-windows
%define winesodir x86_64-unix
%endif
%ifarch %{arm}
%define winepedir arm-windows
%define winesodir arm-unix
%endif
%ifarch aarch64
%define winepedir aarch64-windows
%define winesodir aarch64-unix
%endif

%add_verify_elf_skiplist %libwinedir/%winesodir/grdwine.dll.so

%description
Guardant usb dongle helper library for Wine.
Implementation of the GrdWine is based on Linux USB Device
Filesystem and Linux USB HID Device Interface.

Supports Guardant Sign/Time and Guardant Code dongles.
Old keys Stealth II and Stealth III are not supported here
(check WINE at Etersoft 2.x to get support).

%if "%winepkgname" != "%name"
%package -n %winepkgname
Group: Development/C
Summary: Guardant usb dongle helper library for Wine

%description -n %winepkgname
Guardant usb dongle helper library for Wine.
Implementation of the GrdWine is based on Linux USB Device
Filesystem and Linux USB HID Device Interface.

Supports Guardant Sign/Time and Guardant Code dongles.
Old keys Stealth II and Stealth III are not supported here
(check WINE at Etersoft 2.x to get support).
%endif

%prep
%setup
%patch1 -p1
%patch2 -p1

%build
#autoreconf
./bootstrap.sh

%if_with build64
%configure \
--enable-win64 \
%else
%configure \
%endif
--with-wineincs=%_includedir \
--with-wineso=%buildroot/%libwinedir/%winesodir \
--with-winepe=%buildroot/%libwinedir/%winepedir

%make_build

%install
%makeinstall_std
%if_with build64
install -D -m0644 %SOURCE1 %buildroot%_udevrulesdir/90-grdnt.rules
%endif

%files -n %winepkgname
%libwinedir/%winesodir/grdwine.dll.so
%libwinedir/%winepedir/grdwine.dll
%if_with build64
%_udevrulesdir/*.rules
%endif

%changelog

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

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