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
Version: 2.4
Version: 2.4_3
Release: 1mamba
Summary: The CD/DVD image manipulator for Linux
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/acetoneiso
Source: http://deb.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_%{version}.orig.tar.gz
#Source: http://downloads.sourceforge.net/project/acetoneiso/AcetoneISO/AcetoneISO%20%{version}/acetoneiso_%{version}.tar.gz
Source: http://deb.debian.org/debian/pool/main/a/acetoneiso/acetoneiso_%{pkgver}.orig.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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5WebKit-devel
BuildRequires: libgcc
BuildRequires: libphonon-devel
BuildRequires: libqt4-devel
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: acetoneiso2 < 2.4-1mamba
%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.
@ -38,30 +38,34 @@ AcetoneISO2, is a feature-rich and complete software application to manage CD/DV
%debug_package
%prep
%setup -q -n %{name}%{version}
%setup -q -n %{name}%{pkgver} -a1
#%patch0 -p1
cat debian/patches/series | while read line; do
cat debian/patches/$line | patch -p1
done
%build
cd acetoneiso/
#force qt4
export QTDIR=%{_libdir}/qt4
qmake-qt4
qmake-qt5
lrelease-qt5 acetoneiso.pro
sed -i "s|strip|/bin/true|" Makefile
%make
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd acetoneiso/
%makeinstall INSTALL_ROOT=%{buildroot}
:<< __OLD
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/
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
#install_target
install -m 755 -p acetoneiso $RPM_BUILD_ROOT%{_bindir}/
install -D -m 755 -p acetoneiso $RPM_BUILD_ROOT%{_bindir}/
#install_menuico
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 -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/
__OLD
%post
@ -103,6 +108,9 @@ install -m 755 -p menu/AcetoneISO.desktop $RPM_BUILD_ROOT%{_datadir}/application
%doc AUTHORS LICENSE
%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
- update to 2.4