Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
95c4836bde dist-git conversion 2010-07-28 08:45:38 +00:00
Bill Nottingham
2aba006f4d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 00:16:11 +00:00
Tom Callaway
1662c40566 Requires: kdewebdev 2007-11-26 15:28:35 +00:00
Tom Callaway
50a1af1b41 Fix bz 394441, nrg2iso conflict 2007-11-21 18:03:18 +00:00
Tom Callaway
950ba012d8 Branching. 2007-11-19 22:01:07 +00:00
Tom Callaway
e2e73acb3e Initialize branch F-8 for AcetoneISO 2007-11-17 17:39:35 +00:00
4 changed files with 109 additions and 21 deletions

View file

108
AcetoneISO.spec Normal file
View file

@ -0,0 +1,108 @@
Name: AcetoneISO
Version: 6.7
Release: 4%{?dist}
Summary: CD/DVD Image Manipulator
Group: Applications/Archiving
License: GPL
URL: http://www.acetoneteam.org/
#Source0: http://www.acetoneteam.org/Archivia/%{name}-%{version}.tar.gz
# Upstream source includes poweriso binary, closed source, no redistribution permission.
Source0: %{name}-%{version}-clean.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdewebdev-devel, desktop-file-utils
Requires: p7zip, xbiso, k3b, kdebase, arts, cdrdao, nrg2iso
# Overkill, but I'm being thorough
Requires: util-linux, coreutils, kdewebdev
%description
AcetoneISO: The CD/DVD image manipulator for Linux, it can do the following:
- Mount and Unmount ISO, MDF, NRG (if iso-9660 standard)
- Convert / Extract / Browse to ISO : *.bin *.mdf *.nrg *.img *.daa *.cdi
*.xbx *.b5i *.bwi *.pdi
- Play a DVD Movie ISO with most used media players
- Generate an ISO from a Folder or CD/DVD
- Generate MD5 file of an image
- Encrypt an image
- Split image into X megabyte chunks
- Highly compress an image
- Rip a PSX cd to *.bin to make it work with epsxe/psx emulators
- Service-Menu support for Konqueror
- Restore a lost CUE file of *.bin *.img
%prep
%setup -q
%build
cd src/
chmod -x *.c
mkdir ../binaries
# xbiso is in its own package
# so is nrg2iso.
for i in b5i2iso.c cdi2iso.c mdf2iso.c pdi2iso.c; do
SHORTNAME=`echo $i | sed 's/.c//'`
gcc $RPM_OPT_FLAGS $i -o ../binaries/$SHORTNAME
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p binaries/* $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/scripts/
sed -i 's|/opt/acetoneiso/|/usr/|g' %{name}-%{version}/AcetoneISO.kmdr
chmod -x %{name}-%{version}/AcetoneISO.kmdr
install -p %{name}-%{version}/AcetoneISO.kmdr $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/scripts
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -p %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
sed -i 's|/opt/acetoneiso/.|%{_sbindir}|g' %{name}-%{version}/acetoneiso-*mount.desktop
chmod -x %{name}-%{version}/acetoneiso-*mount.desktop
install -p %{name}-%{version}/*.sh $RPM_BUILD_ROOT%{_sbindir}
sed -i 's|/opt/acetoneiso/|%{_datadir}/apps/%{name}/scripts/|g' %{name}-%{version}/acetoneiso
install -p %{name}-%{version}/acetoneiso $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
install -p %{name}-%{version}/acetoneiso-*mount.desktop $RPM_BUILD_ROOT%{_datadir}/apps/konqueror/servicemenus/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mv %{name}-%{version}/AcetoneISO %{name}-%{version}/AcetoneISO.desktop
sed -i 's|/opt/acetoneiso/|%{_datadir}/apps/%{name}/scripts/|g' %{name}-%{version}/AcetoneISO.desktop
sed -i "s|'/usr/share/apps/AcetoneISO/scripts/AcetoneISO.kmdr'|/usr/share/apps/AcetoneISO/scripts/AcetoneISO.kmdr|g" %{name}-%{version}/AcetoneISO.desktop
desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category System \
%{name}-%{version}/AcetoneISO.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc GPL README changelog
%{_bindir}/acetoneiso
%{_bindir}/b5i2iso
%{_bindir}/cdi2iso
%{_bindir}/mdf2iso
%{_bindir}/pdi2iso
%{_sbindir}/playiso-unmount.sh
%{_sbindir}/turbo.sh
%{_datadir}/applications/*.desktop
%{_datadir}/apps/%{name}/
%{_datadir}/apps/konqueror/servicemenus/acetoneiso-*.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 6.7-4
- Requires: kdewebdev
* Wed Nov 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 6.7-3
- nrg2iso has its own package (bz 394441)
* Thu Nov 8 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 6.7-2
- fix unowned directories
- drop vendor in desktop file
- fix desktop file to actually work
* Mon Jun 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 6.7-1
- initial build for Fedora

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: AcetoneISO
# $Id$
NAME := AcetoneISO
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
f75b37764812539817459d02876701d2 AcetoneISO-6.7-clean.tar.gz