Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37709686
en ru br
ALT Linux repos
S:1.5.19-alt1_1
5.0: 1.2.1-alt1
4.1: 1.1.14-alt1
4.0: 1.1.0-alt2
3.0: 1.1.0-alt2

Group :: System/Libraries
RPM: libdsk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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

%def_disable static

Name: libdsk
Version: 1.1.0
Release: alt2

Summary: General floppy and diskimage access library
Group: System/Libraries
License: LGPL
Url: http://www.seasip.demon.co.uk/Unix/LibDsk/

Source: %name-%version.tar.gz

# Automatically added by buildreq on Mon Sep 29 2003

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

%description
LibDsk is a library intended to give transparent access to floppy
drives and to the "disc image files" used by emulators to represent
floppy drives.

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

%description devel
LibDsk is a library intended to give transparent access to floppy
drives and to the "disc image files" used by emulators to represent
floppy drives.

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
LibDsk is a library intended to give transparent access to floppy
drives and to the "disc image files" used by emulators to represent
floppy drives.

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

%package utils
Summary: LibDsk utilites
Group: File tools
Conflicts: %name < %version-%release
Conflicts: %name > %version-%release

%description utils
LibDsk is a library intended to give transparent access to floppy
drives and to the "disc image files" used by emulators to represent
floppy drives.

The %name-utils package contains various utilites for mnipulating
floppies or disk image files for emulated machines.

%prep
%setup -q

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

%install
%make_install DESTDIR=%buildroot install

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

%files
%doc doc/{COPYING,INSTALL,README,TODO}
%_libdir/*.so.*

%files devel
%doc doc/libdsk.* doc/cfi.html
%_includedir/*
%_libdir/*.so

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

%files utils
%_bindir/*
%_man1dir/*

%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