summaryrefslogtreecommitdiff
path: root/mdf2iso
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-25 13:15:57 +0000
committerB Stack <bgstack15@gmail.com>2019-02-25 13:15:57 +0000
commitca1f66d9e79d3303b159d9ff4e9425f603fbe83a (patch)
tree664bda5af89a08a7e2390612dddee693b992b2dd /mdf2iso
parentMerge branch 'irfanview-dpkg' into 'master' (diff)
parentadd mdf2iso (diff)
downloadstackrpms-ca1f66d9e79d3303b159d9ff4e9425f603fbe83a.tar.gz
stackrpms-ca1f66d9e79d3303b159d9ff4e9425f603fbe83a.tar.bz2
stackrpms-ca1f66d9e79d3303b159d9ff4e9425f603fbe83a.zip
Merge branch 'mdf2iso' into 'master'
add mdf2iso See merge request bgstack15/stackrpms!42
Diffstat (limited to 'mdf2iso')
-rw-r--r--mdf2iso/mdf2iso.125
-rw-r--r--mdf2iso/mdf2iso.spec51
2 files changed, 76 insertions, 0 deletions
diff --git a/mdf2iso/mdf2iso.1 b/mdf2iso/mdf2iso.1
new file mode 100644
index 0000000..9b68291
--- /dev/null
+++ b/mdf2iso/mdf2iso.1
@@ -0,0 +1,25 @@
+.TH "MDF2ISO" 1 "10 December 2005" "mdf2iso 0.3.0" "User Commands"
+.SH NAME
+mdf2iso \- mdf to iso / cue / toc image converter
+.SH SYNOPSIS
+.HP 8
+.B mdf2iso [OPTION] [BASENAME.MDF] [DESTINATION]
+.SH DESCRIPTION
+\fBmdf2iso\fR converts an Alcohol 120% .mdf image to other CD image formats.
+It is able to write out plain .iso, .cue & .bin and .toc & .dat. If you do not
+specifiy \-\-cue or \-\-toc, an .iso file gets generated. If you do not specifiy a
+destination image name, BASENAME.ext is automatically used.
+.SH MDF2ISO OPTIONS
+.TP
+\fB\-\-toc\fR file
+creates a .dat image & .toc file from the .mdf image.
+.TP
+\fB\-\-cue\fR file
+creates a .bin image & .cue sheet from the .mdf image.
+.TP
+\fB\-\-help\fR
+shows the help text
+.SH AUTHOR
+This manual page was written by Lukas Fittl <lfittl@ixios-software.com>,
+for the Ubuntu GNU/Linux system (but may be used by others),
+because the original program does not have a manual page.
diff --git a/mdf2iso/mdf2iso.spec b/mdf2iso/mdf2iso.spec
new file mode 100644
index 0000000..1560b0f
--- /dev/null
+++ b/mdf2iso/mdf2iso.spec
@@ -0,0 +1,51 @@
+# References:
+# manpage location rpmrebuild -e vim-common
+# http://deb.debian.org/debian/pool/main/m/mdf2iso/mdf2iso_0.3.1-2.debian.tar.xz
+%define upstreamname upstream
+Name: mdf2iso
+Version: 0.3.1
+Release: 0%{?dist}
+Summary: simple utility to convert mdf to iso / cue / toc images
+
+Group: Filesystem/Utils
+License: GPLv2
+URL: https://salsa.debian.org/debian/mdf2iso/
+Source0: https://salsa.debian.org/debian/%{name}/-/archive/%{upstreamname}/0.3.1/%{name}%-%{version}.tar.gz
+Source1: %{name}.1
+Packager: B Stack <bgstack15@gmail.com>
+
+BuildRequires: gcc
+BuildRequires: automake
+#Requires:
+
+%description
+mdf2iso is a very simple utility to convert an Alcohol 120% mdf image to an
+iso, toc / dat or cue / bin image.
+
+%prep
+%setup -q -c %{name}%{?upstreamname:-%{upstreamname}}-%{version}
+mv %{name}%{?upstreamname:-%{upstreamname}}-%{version}-*/* .
+
+%build
+%{__autoconf}
+%{__aclocal}
+%configure PREFIX=/usr
+%{__make} %{?_smp_mflags}
+
+%install
+%{__mkdir_p} %{buildroot}%{_bindir} ; sleep 1
+%make_install
+
+# man pages
+%{__install} -d %{buildroot}%{_mandir}/man1
+%{__install} -Dm 0644 -t %{buildroot}%{_mandir}/man1 %{SOURCE1}
+
+%files
+%attr(0755, -, -) %{_bindir}/%{name}
+%doc ChangeLog
+%attr(0644, root, root) %doc %{_mandir}/*/*
+%license gpl.txt
+
+%changelog
+* Sun Feb 24 2019 B Stack <bgstack15@gmail.com> 0.3.1-0
+- initial rpm built
bgstack15