File nrg2iso.spec of Package nrg2iso
#
# spec file for package nrg2iso (Version 0.4)
#
# Copyright (c) 2009 SUSE LINUX Products 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/
#
# norootforbuild
Name: nrg2iso
Summary: Nero .nrg Format to .iso Converter
License: LGPL v2.1 or later
Group: Productivity/Multimedia/CD/Record
Version: 0.4
Release: 162
Url: http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html
Requires: smtp_daemon, logrotate
Source0: http://gregory.kokanosky.free.fr/v4/linux/nrg2iso-0.4.tar.bz2
Source1: CMakeLists.txt
Source2: nrg2iso.1.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
%description
Converts images created by Nero Burning Rom to standard .iso (ISO9660)
files. Quite useful if you do not want to buy or start Windows and
Burning Rom.
Authors:
--------
Gregory Kokanosky <gregory.kokanosky@free.fr>
%prep
%setup -q
cp %{SOURCE1} .
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
%install
make install DESTDIR=%{buildroot}
install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
install -m644 %{SOURCE2} $RPM_BUILD_ROOT/%{_mandir}/man1
%files
%defattr(-, root,root)
/usr/bin/nrg2iso
%doc %{_mandir}/man1/%{name}*
%doc gpl.txt CHANGELOG
%changelog
* Tue Feb 03 2009 kssingvo@suse.de
- added a manpage
- purified specfile
* Mon May 05 2008 crrodriguez@suse.de
- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 08 2004 kssingvo@suse.de
- initial version