update to 2.4_3 [release 2.4_3-1mamba;Fri Dec 08 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 20:08:57 +01:00
parent bab58a0a04
commit 8bfb3a87bd

View File

@ -1,36 +1,36 @@
%define pkgver %(echo %version | cut -d_ -f1)
%define debian_ver %(echo %version | tr _ -)
Name: acetoneiso Name: acetoneiso
Version: 2.4 Version: 2.4_3
Release: 1mamba Release: 1mamba
Summary: The CD/DVD image manipulator for Linux Summary: The CD/DVD image manipulator for Linux
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/acetoneiso URL: https://sourceforge.net/projects/acetoneiso
Source: http://deb.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_%{version}.orig.tar.gz Source: http://deb.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_%{pkgver}.orig.tar.gz
#Source: http://downloads.sourceforge.net/project/acetoneiso/AcetoneISO/AcetoneISO%20%{version}/acetoneiso_%{version}.tar.gz Source1: http://deb.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_%{debian_ver}.debian.tar.xz
Patch0: %{name}-2.2.1-phonon_includes.patch Patch0: %{name}-2.2.1-phonon_includes.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libphonon-devel BuildRequires: libglvnd-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: bash
BuildRequires: gnupg2 BuildRequires: gnupg2
BuildRequires: pinentry-qt BuildRequires: pinentry-qt
Requires: fuse Requires: fuse
Requires: libfuse Requires: libfuse
Requires: fuseiso Requires: fuseiso
Requires: libqt4
Requires: cdrdao Requires: cdrdao
Requires: p7zip Requires: p7zip
Requires: /usr/bin/cdrecord Requires: /usr/bin/cdrecord
Provides: acetoneiso2 Provides: acetoneiso2
Obsoletes: acetoneiso2 Obsoletes: acetoneiso2 < 2.4-1mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %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. 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.
@ -38,30 +38,34 @@ AcetoneISO2, is a feature-rich and complete software application to manage CD/DV
%debug_package %debug_package
%prep %prep
%setup -q -n %{name}%{version} %setup -q -n %{name}%{pkgver} -a1
#%patch0 -p1 #%patch0 -p1
cat debian/patches/series | while read line; do
cat debian/patches/$line | patch -p1
done
%build %build
cd acetoneiso/ cd acetoneiso/
#force qt4 qmake-qt5
export QTDIR=%{_libdir}/qt4 lrelease-qt5 acetoneiso.pro
qmake-qt4
sed -i "s|strip|/bin/true|" Makefile sed -i "s|strip|/bin/true|" Makefile
%make %make -j1
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd acetoneiso/ cd acetoneiso/
%makeinstall INSTALL_ROOT=%{buildroot} %makeinstall INSTALL_ROOT=%{buildroot}
:<< __OLD
mkdir -p $RPM_BUILD_ROOT%{_bindir}/ mkdir -p $RPM_BUILD_ROOT%{_bindir}/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/acetoneiso mkdir -p $RPM_BUILD_ROOT%{_datadir}/acetoneiso
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/ #mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
#install_target #install_target
install -m 755 -p acetoneiso $RPM_BUILD_ROOT%{_bindir}/ install -D -m 755 -p acetoneiso $RPM_BUILD_ROOT%{_bindir}/
#install_menuico #install_menuico
install -m 644 -p images/Acetino2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/ install -m 644 -p images/Acetino2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
@ -86,6 +90,7 @@ install -m 755 -p menu/AcetoneISO.desktop $RPM_BUILD_ROOT%{_datadir}/application
##install_sml ##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-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/ #install -m 755 -p scripts/sm/link/acetoneiso2-iso.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
__OLD
%post %post
@ -103,6 +108,9 @@ install -m 755 -p menu/AcetoneISO.desktop $RPM_BUILD_ROOT%{_datadir}/application
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%changelog %changelog
* Fri Dec 08 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4_3-1mamba
- update to 2.4_3
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba * Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba
- update to 2.4 - update to 2.4