File mdf2iso.spec of Package mdf2iso

#
# spec file for package mdf2iso
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           mdf2iso
Version:        0.3.0
Release:        0
Summary:        Utility to convert an Alcohol 120% images to ISO-9660
License:        GPL-2.0
Group:          Productivity/File utilities
Url:            http://mdf2iso.berlios.de/
Source0:        http://mirror.amdmi3.ru/berlios/download.berlios.de/mdf2iso/%{name}-%{version}-src.tar.gz
Source1:        mdf2iso.1
BuildRequires:  dos2unix
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Command line utility to convert an Alcohol 120% bin
image to the standard ISO-9660 format.

%prep
%setup -q -n %{name}

chmod 644 ChangeLog *.txt
dos2unix ChangeLog

%build
%configure
make %{?_smp_mflags}

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
install -D -m0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/mdf2iso.1

%files
%defattr(-, root, root)
%doc ChangeLog *.txt
%{_bindir}/*
%{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by