Репозиторий Sisyphus
Последнее обновление: 20 ноября 2018 | Пакетов: 18668 | Посещений: 12576839
en ru br
Репозитории ALT
S:0.8.0-alt1.qa2
5.1: 0.7.2-alt1
4.1: 0.7.2-alt1
3.0: 0.6.3-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libinklevel

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


Name: libinklevel
Version: 0.8.0
Release: alt1.qa1

Summary: Library for retrieving the ink level of a printer.
License: GPL
Group: System/Libraries
Url: http://libinklevel.sf.net
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: %url/%name-%version.tar.gz
Source1: %name-index.html
Source2: %name.watch

Patch1: %name-0.7.2-alt-makefile-fix.patch
Patch2: %name-0.7.2-alt-makefile-optflags.patch

BuildPreReq: libieee1284-devel

%package devel
Summary: Headers for libinklevel
Group: Development/C
Requires: %name = %version-%release

%description
Libinklevel is a linux library for retrieving the ink level of a printer
attached via the parallel port or USB.

%description devel
Headers for building software that uses libinklevel

%prep
%setup
#patch1 -p1
#patch2 -p1
%__cp %SOURCE1 index.html
./configure
#sed -i 's at PREFIX = /usr/local at PREFIX = %prefix at g' Makefile
#sed -i 's at /\$(PREFIX)/lib at %_libdir at g' Makefile

%build
%make_build OPTFLAGS="%optflags"

%install
%make_install install DESTDIR=%buildroot
mkdir %buildroot%_libdir/
mkdir %buildroot%_includedir/
cp -a .libs/*.so.* %buildroot%_libdir
cp -a .libs/*.so %buildroot%_libdir
mv %buildroot/usr/local/include/*.h %buildroot%_includedir
%__ln_s -f /usr/share/license/GPL-2 COPYING

%files
%_libdir/*.so.*
%doc index.html
%doc --no-dereference COPYING

%files devel
%_libdir/*.so
%_includedir/*.h

%changelog

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

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