Группа :: Система/Ядро и оборудование
Пакет: flashrom
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define svnrev 3892
Name: flashrom
Version: 0.0
Release: alt0.1
Summary: Universal flash programming utility
License: %gpl2plus
Group: System/Kernel and hardware
URL: http://www.coreboot.org/Flashrom
# svn co svn://coreboot.org/repos/trunk/util/flashrom
Source: %name-svn-r%svnrev.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: libpci-devel zlib-devel
%description
Flashrom is a universal flash programming utility for DIP, PLCC, or SPI
flash ROM chips. It can be used to flash BIOS/coreboot/firmware images.
%prep
%setup -n %name-svn-r%svnrev
%build
%define _optlevel s
%add_optflags -Werror
%make_build CFLAGS="%optflags" PREFIX=%_prefix SVNDEF='-DFLASHROM_VERSION=\"%svnrev\"'
%install
install -d -m 0755 %buildroot%_sbindir
%make_install PREFIX=%buildroot%_prefix install
%files
%doc README
%_sbindir/*
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: flashrom
Version: 0.0
Release: alt0.1
Summary: Universal flash programming utility
License: %gpl2plus
Group: System/Kernel and hardware
URL: http://www.coreboot.org/Flashrom
# svn co svn://coreboot.org/repos/trunk/util/flashrom
Source: %name-svn-r%svnrev.tar
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: libpci-devel zlib-devel
%description
Flashrom is a universal flash programming utility for DIP, PLCC, or SPI
flash ROM chips. It can be used to flash BIOS/coreboot/firmware images.
%prep
%setup -n %name-svn-r%svnrev
%build
%define _optlevel s
%add_optflags -Werror
%make_build CFLAGS="%optflags" PREFIX=%_prefix SVNDEF='-DFLASHROM_VERSION=\"%svnrev\"'
%install
install -d -m 0755 %buildroot%_sbindir
%make_install PREFIX=%buildroot%_prefix install
%files
%doc README
%_sbindir/*
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь