Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1fb21c022 | ||
|
|
e177e29c73 | ||
|
|
2fef1873ac | ||
| 17b427cd4c |
6 changed files with 91 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xorriso-0.3.8.pl00.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xorriso
|
||||
# $Id$
|
||||
NAME := xorriso
|
||||
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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
d965bcca767995d1a8735cc34d44ebf4 xorriso-0.3.8.pl00.tar.gz
|
||||
75
xorriso.spec
Normal file
75
xorriso.spec
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
%define __patchlevel pl00
|
||||
|
||||
Name: xorriso
|
||||
Version: 0.3.8
|
||||
Release: 6.%{__patchlevel}%{?dist}
|
||||
Summary: ISO 9660 image manipulation tool
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2 and GPL+ and LGPLv2+
|
||||
URL: http://scdbackup.sourceforge.net/xorriso_eng.html
|
||||
Source0: http://scdbackup.sourceforge.net/%{name}-%{version}.%{__patchlevel}.tar.gz
|
||||
Source1: xorriso_servicemenu.desktop
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
Requires: coreutils util-linux-ng kde-filesystem
|
||||
|
||||
|
||||
%description
|
||||
xorriso is a program which maps file objects from POSIX compliant
|
||||
filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows
|
||||
session-wise manipulation of such filesystems. It can load the management
|
||||
information of existing ISO images and it writes the session results to
|
||||
optical media or to filesystem objects. Vice versa xorriso is able to
|
||||
restore file objects from ISO 9660 filesystems.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
[ -s CONTRIBUTORS ] && exit 1
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
rm -rf %{buildroot}/%{_libdir}/pkgconfig/xorriso.pc
|
||||
install -D -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/kde4/services/ServiceMenus/`basename %{SOURCE1}`
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING COPYRIGHT README doc
|
||||
%{_bindir}/osirrox
|
||||
%{_bindir}/xorrecord
|
||||
%{_bindir}/xorriso
|
||||
%{_bindir}/xorrisofs
|
||||
%{_mandir}/man1/xorriso.1.gz
|
||||
%{_datadir}/kde4/services/ServiceMenus/xorriso_servicemenu.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jun 12 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-6.pl00
|
||||
- Minor spec edits.
|
||||
|
||||
* Sat Jun 12 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-5.pl00
|
||||
- Minor spec edits.
|
||||
|
||||
* Fri Jun 12 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-4.pl00
|
||||
- Fixed license string, minor spec cleanups.
|
||||
|
||||
* Fri Jun 12 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-3.pl00
|
||||
- Added desktop entry for KDE.
|
||||
|
||||
* Fri Jun 12 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-2.pl00
|
||||
- Fixed multiple (review #505184).
|
||||
|
||||
* Wed Jun 10 2009 Juha Tuomala <tuju@iki.fi> - 0.3.8-1.pl00
|
||||
- Initial package.
|
||||
14
xorriso_servicemenu.desktop
Normal file
14
xorriso_servicemenu.desktop
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=KonqPopupMenu/Plugin
|
||||
MimeType=application/x-cd-image;
|
||||
Actions=xorrisoExtractHere;
|
||||
X-KDE-Priority=TopLevel
|
||||
X-KDE-StartupNotify=false
|
||||
|
||||
[Desktop Action xorrisoExtractHere]
|
||||
Name=Xorriso: extract ISO-image here
|
||||
Name[fi]=Xorriso: Pura ISO tiedosto tähän
|
||||
Icon=media-optical
|
||||
Exec=/bin/nice -n 19 ionice -n7 -c3 xorriso -indev "%F" -osirrox on -cp_rx "*" "$(/usr/bin/dirname %F)"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue