removed requirement for kdebase [release 2.3-2mamba;Mon Jan 07 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 20:08:57 +01:00
parent df6e53c8be
commit c30c53bd44
3 changed files with 170 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# acetoneiso
AcetoneISO2, is a feature-rich and complete software application to manage CD/DVD images. Thanks to powerful open source tools such as fuseiso, AcetoneISO2 will let You mount typical proprietary images formats of the Windows world such as ISO BIN NRG MDF IMG and do plenty of other things. Everything will be done inside a handy GUI.

View File

@ -0,0 +1,42 @@
diff -ru acetoneiso_2.2.1/acetoneiso/sources/erase_cd.cpp acetoneiso_2.2.1.patched/acetoneiso/sources/erase_cd.cpp
--- acetoneiso_2.2.1/acetoneiso/sources/erase_cd.cpp 2009-11-04 01:31:58.000000000 +0100
+++ acetoneiso_2.2.1.patched/acetoneiso/sources/erase_cd.cpp 2010-02-04 18:26:07.000000000 +0100
@@ -15,8 +15,8 @@
#include <QtGui>
#include <QCoreApplication>
#include <QByteArray>
-#include <Phonon/MediaObject>
-#include <Phonon/AudioOutput>
+#include <phonon/MediaObject>
+#include <phonon/AudioOutput>
#include <QProcess>
#include <QDBusConnection>
#include <QDBusInterface>
diff -ru acetoneiso_2.2.1/acetoneiso/sources/erase_cd.h acetoneiso_2.2.1.patched/acetoneiso/sources/erase_cd.h
--- acetoneiso_2.2.1/acetoneiso/sources/erase_cd.h 2009-11-04 01:31:58.000000000 +0100
+++ acetoneiso_2.2.1.patched/acetoneiso/sources/erase_cd.h 2010-02-04 18:27:03.000000000 +0100
@@ -18,8 +18,8 @@
#ifndef ERASE_CD_H
#define ERASE_CD_H
#include <QFile>
-#include <Phonon/MediaObject>
-#include <Phonon/AudioOutput>
+#include <phonon/MediaObject>
+#include <phonon/AudioOutput>
#include <QProcess>
#include <QByteArray>
#include <QDialog>
diff -ru acetoneiso_2.2.1/acetoneiso/sources/erase_dvd.cpp acetoneiso_2.2.1.patched/acetoneiso/sources/erase_dvd.cpp
--- acetoneiso_2.2.1/acetoneiso/sources/erase_dvd.cpp 2009-11-04 01:31:58.000000000 +0100
+++ acetoneiso_2.2.1.patched/acetoneiso/sources/erase_dvd.cpp 2010-02-04 18:27:14.000000000 +0100
@@ -23,8 +23,8 @@
#include <fcntl.h>
#include <iostream>
#include <QDebug>
-#include <Phonon/MediaObject>
-#include <Phonon/AudioOutput>
+#include <phonon/MediaObject>
+#include <phonon/AudioOutput>
#include "erase_dvd.h"
/*

126
acetoneiso.spec Normal file
View File

@ -0,0 +1,126 @@
Name: acetoneiso
Version: 2.3
Release: 2mamba
Summary: The CD/DVD image manipulator for Linux
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://sourceforge.net/projects/acetoneiso
Source: http://downloads.sourceforge.net/project/acetoneiso/AcetoneISO/AcetoneISO%20%{version}/acetoneiso_%{version}.tar.gz
Patch0: %{name}-2.2.1-phonon_includes.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libphonon-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: bash
BuildRequires: gnupg2
BuildRequires: pinentry-qt
Requires: fuse
Requires: libfuse
Requires: fuseiso
Requires: libqt4
Requires: cdrdao
Requires: p7zip
Requires: /usr/bin/cdrecord
Provides: acetoneiso2
Obsoletes: acetoneiso2
%description
AcetoneISO2, is a feature-rich and complete software application to manage CD/DVD images. Thanks to powerful open source tools such as fuseiso, AcetoneISO2 will let You mount typical proprietary images formats of the Windows world such as ISO BIN NRG MDF IMG and do plenty of other things. Everything will be done inside a handy GUI.
%prep
%setup -q -n %{name}_%{version}
%patch0 -p1
%build
cd acetoneiso/
#force qt4
export QTDIR=/usr/lib/qt4
${QTDIR}/bin/qmake
sed -i "s|include/qt4/phonon|include/KDE|" Makefile
sed -i "s|strip|/bin/true|" Makefile
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd acetoneiso/
%makeinstall INSTALL_ROOT=%{buildroot}
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/acetoneiso
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
#install_target
install -m 755 -p acetoneiso $RPM_BUILD_ROOT%{_bindir}/
#install_menuico
install -m 644 -p images/Acetino2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
#install_menu
install -m 755 -p menu/AcetoneISO.desktop $RPM_BUILD_ROOT%{_datadir}/applications/AcetoneISO.desktop
#install_dmg
%ifarch x86_64
cd dmg2img
make
cd ..
install -m 755 -p dmg2img/dmg2img $RPM_BUILD_ROOT%{_bindir}/
%endif
##install_sm
#install -m 755 -p scripts/sm/scripts/isofolder $RPM_BUILD_ROOT%{_datadir}/acetoneiso/
#install -m 755 -p scripts/sm/scripts/mfolder $RPM_BUILD_ROOT%{_datadir}/acetoneiso/
#install -m 755 -p scripts/sm/scripts/smiso $RPM_BUILD_ROOT%{_datadir}/acetoneiso/
#install -m 755 -p scripts/sm/scripts/ufolder $RPM_BUILD_ROOT%{_datadir}/acetoneiso/
##install_sml
#install -m 755 -p scripts/sm/link/acetoneiso2-folder.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
#install -m 755 -p scripts/sm/link/acetoneiso2-iso.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
%post
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-, root, root)
%doc AUTHORS CHANGELOG LICENSE README
%{_bindir}/acetoneiso
%ifarch x86_64
%{_bindir}/dmg2img
%endif
#%{_datadir}/acetoneiso/isofolder
#%{_datadir}/acetoneiso/mfolder
#%{_datadir}/acetoneiso/smiso
#%{_datadir}/acetoneiso/ufolder
%{_datadir}/applications/AcetoneISO.desktop
%{_datadir}/pixmaps/Acetino2.png
#%{_datadir}/apps/konqueror/servicemenus/acetoneiso2-folder.desktop
#%{_datadir}/apps/konqueror/servicemenus/acetoneiso2-iso.desktop
%changelog
* Mon Jan 07 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-2mamba
- removed requirement for kdebase
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
- update to 2.3
- removed requirement for cdrtools (require /usr/bin/cdrecord)
- fixed license field
* Thu Feb 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- update to 2.2.1
- removed invasive post script
* Tue May 27 2008 Fabio Giani <fabio.giani@gmail.com> 2.0.2-1mamba
- update to 2.0.2
* Thu Jan 03 2008 Fabio Giani <fabio.giani@gmail.com> 2.0-RC1-1mamba
- package created by autospec