Browse Source

cmmi 0.5.2-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8091 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 10 years ago
parent
commit
906b8a6782
2 changed files with 100 additions and 3 deletions
  1. 88 0
      c/cmmi/cmmi-0.5.2_conf.patch
  2. 12 3
      c/cmmi/cmmi-vl.spec

+ 88 - 0
c/cmmi/cmmi-0.5.2_conf.patch

@@ -0,0 +1,88 @@
+diff -uNr cmmi-0.5.2.orig/dot.cmmirc.en cmmi-0.5.2/dot.cmmirc.en
+--- cmmi-0.5.2.orig/dot.cmmirc.en	2007-01-18 23:34:42.000000000 +0900
++++ cmmi-0.5.2/dot.cmmirc.en	2013-12-29 14:23:47.648037196 +0900
+@@ -36,23 +36,23 @@
+ #
+ # This example supports both Debian system and cygwin system.
+ #
+-if( $ENV{OSTYPE} =~ /linux/ ) {
+-    # Package type
+-    $PACKAGE_TYPE= "D";
+-
+-    # The directory to pool generated packages
+-    $PACKAGE_DIR = "/home/kiyoka/public_html/debian";
+-}
+-else {
+-    # Package type
+-    $PACKAGE_TYPE= "C";
+-    
+-    # The directory to pool generated packages
+-    $PACKAGE_DIR = "/home/kiyoka/park/cygwin";
+-
+-    # installation target directory
+-    $TARGET_PREFIX = "/opt/local";
+-}
++#if( $ENV{OSTYPE} =~ /linux/ ) {
++#    # Package type
++#    $PACKAGE_TYPE= "D";
++#
++#    # The directory to pool generated packages
++#    $PACKAGE_DIR = "/home/kiyoka/public_html/debian";
++#}
++#else {
++#    # Package type
++#    $PACKAGE_TYPE= "C";
++#    
++#    # The directory to pool generated packages
++#    $PACKAGE_DIR = "/home/kiyoka/park/cygwin";
++#
++#    # installation target directory
++#    $TARGET_PREFIX = "/opt/local";
++#}
+ 
+ #
+ # --- Verbose mode ( for debug )
+diff -uNr cmmi-0.5.2.orig/dot.cmmirc.ja cmmi-0.5.2/dot.cmmirc.ja
+--- cmmi-0.5.2.orig/dot.cmmirc.ja	2007-01-18 23:34:42.000000000 +0900
++++ cmmi-0.5.2/dot.cmmirc.ja	2013-12-29 14:24:16.705226436 +0900
+@@ -41,23 +41,23 @@
+ # 次の例では、.cmmirc を Debian system と cygwinシステムで
+ # 共有することができます。
+ #
+-if( $ENV{OSTYPE} =~ /linux/ ) {
+-    # Package type
+-    $PACKAGE_TYPE= "D";
+-
+-    # The directory to pool generated packages
+-    $PACKAGE_DIR = "/home/kiyoka/public_html/debian";
+-}
+-else {
+-    # Package type
+-    $PACKAGE_TYPE= "C";
+-    
+-    # The directory to pool generated packages
+-    $PACKAGE_DIR = "/home/kiyoka/park/cygwin";
+-
+-    # installation target directory
+-    $TARGET_PREFIX = "/opt/local";
+-}
++#if( $ENV{OSTYPE} =~ /linux/ ) {
++#    # Package type
++#    $PACKAGE_TYPE= "D";
++#
++#    # The directory to pool generated packages
++#    $PACKAGE_DIR = "/home/kiyoka/public_html/debian";
++#}
++#else {
++#    # Package type
++#    $PACKAGE_TYPE= "C";
++#    
++#    # The directory to pool generated packages
++#    $PACKAGE_DIR = "/home/kiyoka/park/cygwin";
++#
++#    # installation target directory
++#    $TARGET_PREFIX = "/opt/local";
++#}
+ 
+ #
+ # --- バーボーズモード

+ 12 - 3
c/cmmi/cmmi-vl.spec

@@ -2,18 +2,20 @@ Summary: The program which makes convenient installation work of the software us
 Summary(ja): configure ; make ; make install という一般的な UNIX 用フリーソフトウェアのインストールを便利にするプログラム
 Name: cmmi
 Version: 0.5.2
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: Development/Tools
 Source0: http://prdownloads.sourceforge.net/cmmi/cmmi-%{version}.tar.gz
+Patch0: cmmi-0.5.2_conf.patch
 URL: http://www.netfort.gr.jp/~kiyoka/cmmi/index.html
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires: perl >= 5
-Prereq: perl
-BuildPrereq: perl
+BuildRequires: perl
 BuildArch: noarch
 License: GPL2
+
 Vendor: Project Vine
 Distribution: Vine Linux
+Packager: iwaim
 
 %description
 Cmmi helps you to simplify your installation process from '.tar.gz' source
@@ -27,6 +29,7 @@ efficiently.
 %prep
 %setup -q
 #mv .cmmirc dot.cmmirc
+%patch0 -p1
 
 %build
 
@@ -45,6 +48,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/cmmi
 
 %changelog
+* Sun Dec 29 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.2-2
+- add config file patch (Patch0)
+- drop Prereq: perl
+- replace BuildPreReq to BuildRequires
+- add Packager
+
 * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-1
 - updated to 0.5.2
 - apllied new versioning policy