Kaynağa Gözat

upgrade to mkisofs 1.14 (from cdrtools 1.10)

Ralf S. Engelschall 24 yıl önce
ebeveyn
işleme
ad34390890
1 değiştirilmiş dosya ile 14 ekleme ve 10 silme
  1. 14 10
      mkisofs/mkisofs.spec

+ 14 - 10
mkisofs/mkisofs.spec

@@ -22,6 +22,9 @@
 ##  SUCH DAMAGE. 
 ##  
 
+%define       V_mkisofs  1.14
+%define       V_cdrtools 1.10
+
 #   package information
 Name:         mkisofs
 Summary:      ISO 9660 Filesystem Image Generation Tool
@@ -31,12 +34,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Filesystem
 License:      GPL
-Version:      1.13
-Release:      20020206
+Version:      %{V_mkisofs}
+Release:      20020315
 
 #   list of sources
-Source0:      ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/mkisofs/mkisofs-%{version}.tar.gz
-Patch0:       mkisofs-%{version}.patch
+Source0:      ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/cdrtools-%{V_cdrtools}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -53,8 +55,7 @@ AutoReqProv:  no
     including Rock Ridge, Joliet, and Apple HFS (beta).
 
 %prep
-    %setup -q 
-    %patch -p0 
+    %setup -q -n cdrtools-%{V_cdrtools}
 
 %build
     %{l_make} %{l_mflags} \
@@ -63,10 +64,13 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
-    %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
-    %{l_shtool} install -c -s -m 755 mkisofs/OBJ/*/mkisofs $RPM_BUILD_ROOT%{l_prefix}/bin/
-    %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man8
-    %{l_shtool} install -c -m 644 mkisofs/mkisofs.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
+    %{l_shtool} mkdir -f -p -m 755 \
+        $RPM_BUILD_ROOT%{l_prefix}/bin \
+        $RPM_BUILD_ROOT%{l_prefix}/man/man8
+    %{l_shtool} install -c -s -m 755 \
+        mkisofs/OBJ/*/mkisofs $RPM_BUILD_ROOT%{l_prefix}/bin/
+    %{l_shtool} install -c -m 644 \
+        mkisofs/mkisofs.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files