Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 214a373bcb572a2120dc48970097c6b1 > files > 2

libdsk-1.2.1-5.mga5.src.rpm

%define sname dsk

%define major 3

%define libname %mklibname %sname %major
%define libname_devel %mklibname -d %sname
%define libname_static_devel %mklibname -s -d %sname

Name: lib%sname
Summary: A library for accessing floppy drives and disk images transparently
Version: 1.2.1
Release: %mkrel 5
License: GPL
URL: http://www.seasip.demon.co.uk/Unix/LibDsk/
Source: http://www.seasip.demon.co.uk/Unix/LibDsk/%{name}-%{version}.tar.gz
Group: System/Libraries
BuildRequires: libz-devel 
BuildRequires: bzip2-devel

%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 -n %{libname}
Summary: A library for accessing floppy drives and disk images transparently
Group: System/Libraries
Provides: %{name} = %{version}-%{release}

%description -n %{libname}
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.

Install the libdsk package if you need to manipulate DSK files. You should
also install the libdsk-progs package.

%package -n %{libname_devel}
Summary: Development files for programs which will use the libdsk library
Group: Development/C
Requires: %{libname} = %{version}
Provides: %name-devel = %{version}-%{release}
Obsoletes: %{libname}-devel

%description -n %{libname_devel}
This package contains the header files and documentation necessary for
development of programs that will use the libdsk library to load and save
DSK format disc image files.

You should install this package if you need to develop programs which will
use the libdsk library functions for loading and saving DSK format disc
image files. You'll also need to install the libdsk package.

%package -n %{libname_static_devel}
Summary: Static libraries for programs which will use the libdsk library
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %libname_static_devel = %{version}-%{release}
Obsoletes: %{libname}-static-devel

%description -n %{libname_static_devel}
This package contains the static libraries, necessary for development of
programs that will use the libdsk library to load and save DSK format
disc image files.

You should install this package if you need to develop programs which
will use the libdsk library functions for loading and saving DSK format
disc image files. You'll also need to install the libdsk package.

%package progs
Summary: Programs for manipulating DSK format disc image files
Group: Emulators
Requires: %{libname} = %{version}-%{release}

%description progs
The libdsk-progs package contains various programs for manipulating
DSK format disc image files.

Install this package if you need to manipulate DSK format disc image
files. You'll also need to install the libdsk package.

%prep
%setup -q

%build
%configure2_5x
%make

%install
%makeinstall

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%files -n %{libname}
%doc ChangeLog doc/COPYING doc/README doc/TODO
%{_libdir}/lib*.so.%{major}*

%files -n %{libname_devel}
%doc doc/COPYING doc/cfi.html doc/libdsk.*
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*.h

%files -n %{libname_static_devel}
%doc doc/COPYING
%{_libdir}/lib*.a

%files progs
%doc doc/COPYING
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/*



%changelog
* Wed Oct 15 2014 umeabot <umeabot> 1.2.1-5.mga5
+ Revision: 750480
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.2.1-4.mga5
+ Revision: 681426
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 1.2.1-3.mga4
+ Revision: 506952
- Mageia 4 Mass Rebuild

* Sat Jan 12 2013 umeabot <umeabot> 1.2.1-2.mga3
+ Revision: 357018
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat May 14 2011 nanardon <nanardon> 1.2.1-1.mga1
+ Revision: 98701
- imported package libdsk


* Mon Jan 28 2008 Guillaume Bedot <littletux@zarb.org> 1.2.1-1plf2008.1
- 1.2.1

* Mon May 8 2006 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.10-1plf
- 1.1.10

* Sun Mar 26 2006 Stefan van der Eijk <stefan@zarb.org> 1.1.9-1plf
- 1.1.9
- misc spec file changes

* Sun Jul 10 2005 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.5-1plf
- new version

* Wed May 4 2005 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.4-2plf
- added patch to fix CR-LFs in libdsk.h
- the --disable-rpath option in configure is not needed anymore

* Fri Apr 22 2005 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.4-1plf
- new version

* Wed Feb 16 2005 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.3-1plf
- new version

* Fri May 7 2004 Miguel Barrio Orsikowsky <megamik@zarb.org> 1.1.1-2plf
- introduce in PLF
- changed spec file to meet Mandrake's skel spec
- repackaged sources to bz2 format
- removed static-devel package

* Wed Apr 21 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.1.1-1mdk
- 1.1.1

* Sun Dec 14 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.0.0-6mdk
- introduce in contrib

* Tue Nov 4 2003 Miguel Barrio Orsikowsky <megamik@ya.com> 1.0.0-5mdk
- removed some unnecesary commands from spec file
- disable rpath
- fixed some rpmlint errors

* Sat Nov 1 2003 Miguel Barrio Orsikowsky <megamik@ya.com> 1.0.0-4mdk
- made lots of fixes and cosmetic changes to the spec file

* Thu May 22 2003 Miguel Barrio Orsikowsky <megamik@ya.com> 1.0.0-3mdk
- added BuildRequires

* Tue May 13 2003 Miguel Barrio Orsikowsky <megamik@ya.com> 1.0.0-2mdk
- unified %%changelog

* Thu Apr 24 2003 Miguel Barrio Orsikowsky <megamik@ya.com> 1.0.0-1mdk
- first version of the package
- spec file written using Mandrake RPM HOWTO 1.1.1