Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37746496
en ru br
ALT Linux repos
5.0: 0.4.1-alt1
4.1: 0.4.1-alt1
4.0: 0.3.1.1-alt2
3.0: 0.3.1.1-alt2

Group :: System/Libraries
RPM: lib765

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- spec -*-
# $Id: lib765,v 1.2 2003/12/14 22:19:38 raorn Exp $

%def_disable static

Name: lib765
Version: 0.4.1
Release: alt1

Summary: Library to emulate the uPD765a floppy controller (aka Intel 8272)
Group: System/Libraries
License: LGPL
Url: http://www.seasip.demon.co.uk/Unix/LibDsk/#765

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.seasip.demon.co.uk/Unix/LibDsk/%name-%version.tar.bz2

# Automatically added by buildreq on Mon Sep 29 2003

BuildRequires: libdsk-devel
%{?_enable_static:BuildPreReq: glibc-devel-static}

%description
"765" is an emulation of the uPD765a (AKA Intel 8272) Floppy
Disc Controller [FDC] as used in Amstrad computers such as the
PCW, CPC and Spectrum +3. At present it is not a "full" 765;
features not used in the PCW BIOS (such as: DMA; multisector
reads/writes; multitrack mode) are either left unimplemented
or incomplete.

%package devel
Summary: Header files for developing apps which will use %name
Group: Development/C
Requires: %name = %version-%release

%description devel
"765" is an emulation of the uPD765a (AKA Intel 8272) Floppy
Disc Controller [FDC] as used in Amstrad computers such as the
PCW, CPC and Spectrum +3. At present it is not a "full" 765;
features not used in the PCW BIOS (such as: DMA; multisector
reads/writes; multitrack mode) are either left unimplemented
or incomplete.

The %name-devel package contains the include files needed to develop
programs that use the %name library.

%if_enabled static
%package devel-static
Summary: Static library for developing apps which will use %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
"765" is an emulation of the uPD765a (AKA Intel 8272) Floppy
Disc Controller [FDC] as used in Amstrad computers such as the
PCW, CPC and Spectrum +3. At present it is not a "full" 765;
features not used in the PCW BIOS (such as: DMA; multisector
reads/writes; multitrack mode) are either left unimplemented
or incomplete.

The %name-devel-static package contains the static library needed to
develop statically linked programs that use the %name library.
%endif

%prep
%setup -q

%build
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
%{subst_enable static}
%make_build

%install
%makeinstall

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc ChangeLog
%_libdir/*.so.*

%files devel
%doc doc/765.txt
%_includedir/*
%_libdir/*.so

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin