Annotation of OpenXM/misc/packages/README, Revision 1.7
1.7 ! takayama 1: $OpenXM: OpenXM/misc/packages/README,v 1.6 2000/04/06 02:20:31 takayama Exp $
1.1 takayama 2:
3: /*&japanese
4:
5: $B$3$N(B Makefile $B$O(B, $B?@8M$K$*$$$F(B binary package $B$r@=:n$7(B,
6: ftp cite $B$X$*$/$?$a$N<+F02=%9%/%j%W%H$,$O$$$C$F$$$^$9(B.
7: $B$?$@$7(B, $B0J2<$N$h$&$J=`Hw$r$*$3$J$($P(B, committer $B$O$I$3$G$b(B binary package
8: $B$N(B make $B$r$*$3$J$($^$9(B. $B$b$C$H(B portable $B$J(B, binary package builder
9: $B$K$D$$$F$O(B, $B<!$N(B version $B$K$J$k$G$7$g$&(B.
10:
11: $B4pK\E*$J9M$($+$?(B:
12: $B$?$H$($P(B,
13: Generic/openxm/Makefile
14: $B$O(B, cvs server (kerberos.math.sci.kobe-u.ac.cp)
15: $B$h$j%=!<%9$r$H$j$@$7(B work $B0J2<$KE83+$7$F(B, make $B$r$*$3$J$$(B
16: TAR_WORK $B$K(B tar file $B$r$*$-$^$9(B.
17:
1.4 takayama 18: [1] $B@_Dj$,I,MW$+$b$7$l$J$$(B Makefile $B$N%Q%i%a!<%?(B ([2] $B$N>u67$G$OJQ99I,MW$J$7(B):
1.1 takayama 19: TAG cvs server $B$h$j(B $B%=!<%9$r$H$j$@$9$H$-$N%?%0(B. $B8=:_CM(B HEAD
20: TAR_WORK $B$G$-$"$,$C$?(B, tar file $B$r$*$/>l=j(B. $B8=:_CM(B $(HOME)/tmp
21: VERSION OpenXM $B$N(B Version $B8=:_CM(B 1.1.2
1.4 takayama 22: TAR_WORK_EXPLICIT TAR_WORK $B$rE83+$7$?CM(B.
23: $B%?!<%2%C%H(B build-on-pear (root) $B$GMxMQ(B
1.1 takayama 24: FTP_AREA ftp $BMQ$N(B tar $B$r$*$/>l=j(B. mkdir $B$7$F$*$/$3$H(B.
1.4 takayama 25: $B%?!<%2%C%H(B copy-to-ftp-area $B$N$_$G;HMQ(B.
1.1 takayama 26:
27:
1.4 takayama 28: [2] $BMQ0U$7$F$*$/%U%!%$%k(B, directory
1.1 takayama 29: # OpenXM, OpenXM_contrib, OpenXM_contrib2 $B$O(B $(HOME) $BD>2<$K$"$k$H2>Dj(B.
30: # RPM $B$O(B /var/tmp/openxm* $B$K(B, binary $B$r0l;~E*$K(B install $B$7$^$9(B. 50 M $BDxEY$N(B
31: $BNN0h$,I,MW$G$7$g$&(B. $BJQ99$K$O(B, Linux/RPM/Makefile, *spec.in $B$rJT=8(B.
1.4 takayama 32: # mkdir ${TAR_WORK} $B$D$^$j(B mkdir ~/tmp
1.7 ! takayama 33: # $(HOME)/.rpmrc or .rpmmacros
! 34: rpm 3.0 $B0J>e$N>l9g(B ($BIaDL$O$3$A$i(B .rpmmacros $B$K=q$/(B. )
1.6 takayama 35: $BFbMF(B: %_topdir /home/taka/OpenXM/misc/packages/Linux/RPM/work
1.7 ! takayama 36: rpm 3.0 $BL$K~$N>l9g(B (FreeBSD 3.3 : .rpmrc $B$K=q$/(B.)
1.1 takayama 37: $BFbMF(B: TopDir: /home/taka/OpenXM/misc/packages/Linux/RPM/work
1.6 takayama 38:
1.1 takayama 39: /home/taka $B$O(B $(HOME) $B$NCM(B
40: rpm $B$O(B $B$3$N(B direcotry $B0J2<$G:n6H$r9T$&(B.
1.4 takayama 41: # $B%5!<%A%Q%9$K<B9T2DG=$J%9%/%j%W%H(B cvs-OpenXM
42: (cvs $B%5!<%P$K%"%/%;%9$7$F%U%!%$%k$r(B rcvs export $B$9$k$?$a(B)
1.1 takayama 43: $B;29M(B: ($B;d$N(B cvs-OpenXM)
44: orange% cat bin/cvs-OpenXM
45: #!/bin/sh
46: CVS_RSH=ssh-takayama
47: export CVS_RSH
48: cvs $*
49: orange% cat bin/ssh-takayama
50: #!/bin/sh
51: ssh1 -l takayama $*
52:
1.4 takayama 53: # $B%Q%9@_Dj(B:
1.1 takayama 54: set path=(/usr/local/jdk1.1.8/bin $path) $B$H$7$F(B, java, javac $B$r%5!<%A(B
55: $B%Q%9$K$$$l$k$3$H(B. [build-on-pear $B$G$O<+F0(B]
56:
1.4 takayama 57:
58: ### Linux $BMQ$N%P%$%J%jG[I[%U%!%$%k(B
59: OpenXM-binary-Linux-cpu.tgz
60: openxm-binary-1.1.2-test.cpu.tgz
61: $B$r:n@.$9$k$K$O<!$N$h$&$K$7$^$9(B. Redhat $B7O$N(B OS $B$G(B rpm $B$,I,MW$G$9(B.
62: (Debian $B$G$O$@$a(B.) Redhat $BF|K\8lHG(B 6.1 $B2~(B $B$G%F%9%H$:$_(B.
63: (a) make TAG=RELEASE_1_1_2 generate-tar-balls-without-update-plist
64: (b) make TAG=RELEASE_1_1_2 build-on-redhat
65:
66:
67: $B?@8M$K$*$1$k%^%7%s9=@.(B:
1.1 takayama 68: $B$9$Y$F$N%^%7%s$G(B home $B$O(B NFS $B$G6&M-$5$l$F$$$k(B.
69: orange : FreeBSD
70: pear : FreeBSD root $B$K$J$j(B, FreeBSD $BMQ$N(B package $B$r$D$/$k(B.
71: ${TAR_WORK} $B$K(B root $B8"8B$G(B access $B$G$-$J$$$H$$$1$J$$(B.
72: unkei : Solaris
73:
74: $B<j=g(B:
75: @echo "1. generate-tar-balls" FreeBSD machine $B$G<B9T$9$k$3$H(B.
76: @echo " (update-plist)"
77: @echo "2. build-on-orange (do not forget to set .rpmrc. See Linux/RPM/Makefile)"
78: @echo "3. build-on-pear (do it as a super user)"
79: @echo "4. build-on-redhat (do not forget to set .rpmrc)"
80: @echo "5. build-on-unkei"
81: @echo "6. copy-to-ftp-area "
82:
83: 2 $B$H(B 3 $B$OJBNs$G$*$3$J$($k$,(B, NFS $B$G6&M-$5$l$F$k8B$j(B, $BJBNs$K(B build $B$7$F$O$$(B
84: $B$1$J$$(B.
85:
86: generate-tar-ball $B$OJ#;($J$N$G(B, $B2r@b(B:
87: make clean
88: $B$9$Y$F$N(B work $B$r>C5n(B.
89: (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball)
90: ${TAR_WORK} $B$X(B openxm-${VERSION}.tar.gz $B$r$D$/$k(B.
91: (cd Generic/openxm ; make TAG=${TAG} VERSION=${VERSION} tar-ball-01)
92: ${TAR_WORK} $B$X(B openxm01-${VERSION}.tar.gz $B$r$D$/$k(B.
93: [ OpenXM_contrib2 $B$r$D$/$i$J$$(B. ]
94: make update-plist
95: $B$3$l$,J#;((B.
96: FreeBSD/openxm-ports/openxm $B$X(B cd $B$7$F(B,
97: ${TAR_WORK}/openxm-${VERSION}.tar.gz $B$h$j(B,
98: FreeBSD port $B$rMQ$$$F(B, make $B$9$k(B. ( $B$3$3$O;~4V$,$+$+$k(B)
99: $B$3$N$H$-(B, port $B$N0MB84X78$G(B, make $B$K<:GT$9$k>l9g$O(B,
100: $B$H$j$"$($:(B, port $B$N(B Makefile $B$rJT=8$7$F$+$i(B, [ $B$"$H$G@bL@(B ]
101: root $B$K$J$j(B make $B$9$k$H<+F0$GI,MW$J(B tool $B$r(B install $B$9$k(B.
102: make clean $B$7$F(B, root $B$G$N:n6H$r>C$7(B,
103: $B$=$l$+$i(B, $B0lHL%f!<%6$KLa$j(B generate-tar-balls $B$KLa$k(B.
104: $B$J$*(B /usr/local/share/texmf/texmf.cnf $BEy$NJT=8$,I,MW$+$b(B.
105:
106: make $B$7$?$i(B, work/openxm-${VERSION}/OpenXM/bin $BEy$r(B
107: $B$_$J$,$i(B, PLIST $B$r99?7$7$F(B, $B<+F0E*$K(B commit $B$9$k(B.
108: (cd FreeBSD ; make TAG=${TAG} VERSION=${VERSION} make-tar-ball-for-openxm-port)
109: CVS server $B$h$j(B PLIST $B$r4^$`(B FreeBSD port $B$r$H$j$@$7(B,
110: tar $B2=(B. build-on-pear $B$G;H$&(B.
111: (cd Linux/RPM ; make make-directory)
112: (cd Linux/RPM ; make link-for-real-openxm)
113: $B$3$l$O(B, rpm $BMQ$N=i4|$+(B. $B$9$0$*$o$k(B.
1.2 takayama 114:
115:
116: # $B?7$7$/(B, /usr/local/bin, /usr/local/man/man1 $B$J$I(B /usr/local/OpenXM
117: $B0J30$K%$%s%9%H!<%k$9$k%U%!%$%k$,$G$-$?$P$"$$(B $B0J2<$N%U%!%$%k$N=$@5(B
118: $B$NI,MW$,$"$k$+$b$7$l$J$$(B.
119: Generic/openxm/Makefile
120: FreeBSD/openxm-ports/openxm-1.1.2/files/gen-plist.c $B$*$h$S(B
121: $B<+F0@8@.$5$l$?(B plist. cf. cd FreeBSD ; make update-plist ($B;~4V$+$+$k(B)
122: Linux/RPM/*.spec.in
123:
124: Generic/openxm/Makefile $B$N(B SHARED_FILES, BINARY_FILES $B$bCm0U?<$/(B
125: $BJQ99$N$3$H(B.
1.3 takayama 126:
127: # build-on-unkei $B$KBP$9$k%N!<%H(B.
128: set path=(/usr/ccs/bin /usr/local/bin $path); rehash
129: setenv OpenXM_HOME xxx-yyy
130: (Note for taka). On unkei, cd Solaris/OpenXM/misc/packages,
131: and make OpenXM_HOME=$OpenXM_HOME build-on-unkei
1.1 takayama 132:
1.5 takayama 133: */
134:
135: /*&common
1.6 takayama 136: FAQ:
137: TopDir parameter is not accepted by RPM 3.0
138:
139: Answer: use %_topdir
140: Or, see below.
1.5 takayama 141:
142: Re: RPM no longer accepting topdir parameter ?
143: Reply
144:
145:
146: Next in thread: RH6.0 + BJ-200 printer ?
147: Previous in thread: RPM no longer accepting topdir parameter ?
148:
149:
150: Posted: 06/18/1999 04:02:21 PM
151:
152: From: <Eric@KPN.com>
153:
154:
155:
156: > I discovered that with RedHat 6.0, rpm no longer accepts the topdir
157: > parameter inside a configuration file. What has replaced it ?
158: > Where could I find an updated documentation of RPM ?
159: Hi,
160:
161: I've had the same problem.
162:
163: copy /usr/lib/rpm/macros to ~/.rpmmacros
164: and edit %_topdir
165:
166: Greetings, Eric.
167:
168: ---------------------------------------------------------------------
169: E. van Dijken | Phone: +31 50 5855148 Fax: +31 50 5855387
170: KPN Telecom BV, I&AT | E-mail : E.vanDijken@KPN-Telecom.nl
171: P.O. Box 188 | DISCLAIMER: This statement is not an official
172: NL-9700 AD Groningen | statement from, nor does it represent an,
173: The Netherlands | official position of, KPN Telecom B.V.
174: ---------------------------------------------------------------------
175:
176:
177: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>