Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmmi: 0.5.2-1 #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions specs/cmmi/cmmi-0.5.2_conf.patch
Original file line number Diff line number Diff line change
@@ -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";
+#}

#
# --- �С��ܡ����⡼��
46 changes: 46 additions & 0 deletions specs/cmmi/cmmi.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Upstream: Kiyoka Nishiyama <kiyoka$netfort,gr,jp>

Summary: The program which makes convenient installation work of the software using configure script
Name: cmmi
Version: 0.5.2
Release: 1%{?dist}
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
BuildRequires: perl
BuildArch: noarch
License: GPLv2

%description
Cmmi helps you to simplify your installation process from '.tar.gz' source
archives.You can be a package manager of your local site, if you are not an
expert of your OS.Cmmi can make Debian, RedHat, Slackware and cygwin packages
efficiently.

%prep
%setup -q
%patch0 -p1

%build

%install
%{__rm} -rf %{buildroot}

%{__mkdir} -p %{buildroot}%{_bindir}
%{__install} -m0755 cmmi %{buildroot}%{_bindir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGELOG COPYING CREDITS README README.ja dot.cmmirc*
%{_bindir}/cmmi

%changelog
* Sun Jan 19 2014 IWAI, Masaharu <[email protected]> 0.5.2-1
- initial release