Produced by Araxis Merge on 5/10/2018 8:40:03 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | Thu May 10 13:40:03 2018 UTC | ||
2 | MHED_APPS_CIF.zip\VAR v4.2.7\var-resources-4.2.7@54bdc2933ef.zip\var-db\liquibase\build-lib\liquibase.jar\dist | liquibase.spec | Wed May 2 11:37:12 2012 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 258 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | # Settings | |||||
2 | %define pa ckagedby " Nathan Vox land <nath an@voxland .net>" | |||||
3 | # Enable / Disable s ub-package s | |||||
4 | %define my sql 0 | |||||
5 | %define or acle 0 | |||||
6 | %define po stgresql 0 | |||||
7 | %define ms sql 0 | |||||
8 | %define sq lite 0 | |||||
9 | # Liquibas e Package | |||||
10 | %define lq ver 2.0.0 | |||||
11 | %define bu ildnum 1 | |||||
12 | ## MySQL J ar | |||||
13 | %define my sqljar mysql-con nector-jav a-5.1.10.j ar | |||||
14 | %define gp l2license gpl-2.0.t xt | |||||
15 | ## Oracle Files | |||||
16 | %define or aLicense oracle-li cense.txt | |||||
17 | %define or ajarjdbc ojdbc14.j ar | |||||
18 | %define or ajari18n orai18n.j ar | |||||
19 | ## Postgre sql | |||||
20 | %define pg sqljar postgresq l-8.4-701. jdbc4.jar | |||||
21 | %define bs dLicense BSD-Licen se.txt | |||||
22 | ## Microso ft SQL | |||||
23 | %define ms sqljar mssql-sql jdbc4-2.0. jar | |||||
24 | %define ms License MsSQLLice nse.txt | |||||
25 | ## SQLite | |||||
26 | %define sq litejar sqlite-jd bc-3.6.20. 1.jar | |||||
27 | %define ap ache2licen se apache2 license.tx t | |||||
28 | ||||||
29 | Name: liqu ibase | |||||
30 | Summary: L iquibase D atabase Re factoring Tool | |||||
31 | Version: % {lqver} | |||||
32 | Release: % {buildnum} %{?dist} | |||||
33 | License: A pache 2.0 | |||||
34 | Group: App lications/ Databases | |||||
35 | Source0: % {name}-%{v ersion}.ta r.gz | |||||
36 | Source1: % {mysqljar} | |||||
37 | Source2: % {oraLicens e} | |||||
38 | Source3: % {orajarjdb c} | |||||
39 | Source4: % {orajari18 n} | |||||
40 | Source5: % {pgsqljar} | |||||
41 | Source6: % {bsdLicens e} | |||||
42 | Source7: % {mssqljar} | |||||
43 | Source8: % {msLicense } | |||||
44 | Source9: % {gpl2licen se} | |||||
45 | Source10: %{sqliteja r} | |||||
46 | Source11: %{apache2l icense} | |||||
47 | ||||||
48 | Patch0: li quibase-bi n.patch | |||||
49 | ||||||
50 | BuildRoot: %{_tmppat h}/build-r oot-%{name } | |||||
51 | BuildArch: noarch | |||||
52 | Packager: %{packaged by} | |||||
53 | Url: http: //liquibas e.org/ | |||||
54 | Vendor: Li quiBase (h ttp://www. liquibase. org) | |||||
55 | Provides: liquibase = %{versio n}-%{relea se} | |||||
56 | ||||||
57 | %descripti on | |||||
58 | LiquiBase is an open source (A pache 2.0 License), database-i ndependent library f or trackin g, | |||||
59 | managing a nd applyin g database changes. It is buil t on a sim ple premis e: All | |||||
60 | database c hanges are stored in a human r eadable ye t trackabl e form and checked | |||||
61 | into sourc e control. | |||||
62 | ||||||
63 | %if %{mysq l} | |||||
64 | %package m ysql | |||||
65 | Summary: MySQ L Jar file | |||||
66 | Group: Deve lopment/La nguages | |||||
67 | Requires: liqu ibase | |||||
68 | License: GPL | |||||
69 | Url: http ://dev.mys ql.com/dow nloads/con nector/j/ | |||||
70 | ||||||
71 | %descripti on mysql | |||||
72 | This packa ge include s the MySQ L jar file required by liquiba se | |||||
73 | %endif | |||||
74 | ||||||
75 | %if %{orac le} | |||||
76 | %package o racle | |||||
77 | Summary: Orac le Jar and license f iles | |||||
78 | Group: Deve lopment/La nguages | |||||
79 | Requires: liqu ibase | |||||
80 | License: Comm erical | |||||
81 | Url: http ://www.ora cle.com/te chnology/s oftware/te ch/java/sq lj_jdbc/ht docs/jdbc_ 10201.html | |||||
82 | ||||||
83 | %descripti on oracle | |||||
84 | This packa ge include s the Orac le jar fil e required by liquib ase | |||||
85 | %endif | |||||
86 | ||||||
87 | %if %{post gresql} | |||||
88 | %package p ostgresql | |||||
89 | Summary: Post greSQL Jar file | |||||
90 | Group: Deve lopment/La nguages | |||||
91 | Requires: liqu ibase | |||||
92 | License: BSD | |||||
93 | Url: http ://jdbc.po stgresql.o rg/downloa d.html | |||||
94 | ||||||
95 | %descripti on postgre sql | |||||
96 | This packa ge include s the Post greSQL jar file requ ired by li quibase as well | |||||
97 | as the BSD license t hat Postgr eSQL is li censed und er. | |||||
98 | %endif | |||||
99 | ||||||
100 | %if %{mssq l} | |||||
101 | %package m ssql | |||||
102 | Summary: Micr osoft SQL Jar file | |||||
103 | Group: Deve lopment/La nguages | |||||
104 | Requires: liqu ibase | |||||
105 | License: Comm ercial | |||||
106 | Url: http ://www.mic rosoft.com /downloads /details.a spx?Family ID=99b21b6 5-e98f-4a6 1-b811-199 12601fdc9& displaylan g=en | |||||
107 | ||||||
108 | %descripti on mssql | |||||
109 | This packa ge include s the Micr osoft JDBC 2.0 jar f ile requir ed by liqu ibase | |||||
110 | as well as the licen se the jar is licens ed under. This relea se of the JDBC | |||||
111 | Driver is JDBC 4.0 c ompliant a nd runs on the Java Developmen t Kit (JDK ) | |||||
112 | version 5. 0 or later . | |||||
113 | %endif | |||||
114 | ||||||
115 | %if %{sqli te} | |||||
116 | %package s qlite | |||||
117 | Summary: Sqli te Jar fil e | |||||
118 | Group: Deve lopment/La nguages | |||||
119 | Requires: liqu ibase | |||||
120 | License: Apac he License | |||||
121 | Url: http ://www.xer ial.org/tr ac/Xerial/ wiki/SQLit eJDBC | |||||
122 | ||||||
123 | %descripti on sqlite | |||||
124 | This packa ge include s the Sqli te jar fil e required by liquib ase as wel l | |||||
125 | as the Apa che 2 lice nse. The j ar file in cludes nat ive librar ies for Li nux | |||||
126 | (i386 and x86_64), W indows (i3 86 and x86 _64), and MacOSX (i3 86 and x86 _64). | |||||
127 | If the lib rary is us ed on a pl atform whe re native extensions are not a vailable, | |||||
128 | the pure j ava versio n will be used inste ad. | |||||
129 | %endif | |||||
130 | ||||||
131 | %pre | |||||
132 | ||||||
133 | %prep | |||||
134 | %setup -q -n %{name} -%{version } | |||||
135 | %patch0 -p 1 | |||||
136 | ||||||
137 | %build | |||||
138 | ||||||
139 | %install | |||||
140 | %{__rm} -r f %{buildr oot} | |||||
141 | %{__mkdir} -p %{buil droot}%{_l ibdir}/%{n ame}/lib/ | |||||
142 | %{__mkdir} -p %{buil droot}%{_b indir} | |||||
143 | %{__instal l} -m 0644 -D -p %{n ame}-%{ver sion}.jar %{buildroo t}%{_libdi r}/%{name} | |||||
144 | %{__instal l} -m 0755 -D -p %{n ame} %{bui ldroot}%{_ bindir} | |||||
145 | ||||||
146 | # Profile. d file | |||||
147 | %{__mkdir} -p %{buil droot}%{_s ysconfdir} /profile.d / | |||||
148 | %{__cat} < <EOF >%{bu ildroot}%{ _sysconfdi r}/profile .d/liquiba se.sh | |||||
149 | export LIQ UIBASE_HOM E=%{_libdi r}/%{name} / | |||||
150 | EOF | |||||
151 | ||||||
152 | # Sub-pack ages | |||||
153 | %if %{mysq l} | |||||
154 | %{__instal l} -m 0644 -D -p %{S OURCE1} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
155 | %{__instal l} -m 0644 -D -p %{S OURCE9} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
156 | %endif | |||||
157 | ||||||
158 | %if %{orac le} | |||||
159 | %{__instal l} -m 0644 -D -p %{S OURCE2} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
160 | %{__instal l} -m 0644 -D -p %{S OURCE3} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
161 | %{__instal l} -m 0644 -D -p %{S OURCE4} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
162 | %endif | |||||
163 | ||||||
164 | %if %{post gresql} | |||||
165 | %{__instal l} -m 0644 -D -p %{S OURCE5} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
166 | %{__instal l} -m 0644 -D -p %{S OURCE6} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
167 | %endif | |||||
168 | ||||||
169 | %if %{mssq l} | |||||
170 | %{__instal l} -m 0644 -D -p %{S OURCE7} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
171 | %{__instal l} -m 0644 -D -p %{S OURCE8} %{ buildroot} %{_libdir} /%{name}/l ib/ | |||||
172 | %endif | |||||
173 | ||||||
174 | %if %{sqli te} | |||||
175 | %{__instal l} -m 0644 -D -p %{S OURCE10} % {buildroot }%{_libdir }/%{name}/ lib/ | |||||
176 | %{__instal l} -m 0644 -D -p %{S OURCE11} % {buildroot }%{_libdir }/%{name}/ lib/ | |||||
177 | %endif | |||||
178 | ||||||
179 | %clean | |||||
180 | %{__rm} -r f %{buildr oot} | |||||
181 | ||||||
182 | %files | |||||
183 | %defattr(- ,root,root ) | |||||
184 | %attr(0755 ,root,root ) %{_sysco nfdir}/pro file.d/%{n ame}.sh | |||||
185 | %doc docs/ * samples changelog. txt LICENS E.txt | |||||
186 | %{_libdir} /%{name} | |||||
187 | %{_bindir} /%{name} | |||||
188 | ||||||
189 | %if %{mysq l} | |||||
190 | %exclude % {_libdir}/ %{name}/li b/%{mysqlj ar} | |||||
191 | %exclude % {_libdir}/ %{name}/li b/%{gpl2li cense} | |||||
192 | %endif | |||||
193 | ||||||
194 | %if %{orac le} | |||||
195 | %exclude % {_libdir}/ %{name}/li b/%{oraLic ense} | |||||
196 | %exclude % {_libdir}/ %{name}/li b/%{orajar jdbc} | |||||
197 | %exclude % {_libdir}/ %{name}/li b/%{orajar i18n} | |||||
198 | %endif | |||||
199 | ||||||
200 | %if %{post gresql} | |||||
201 | %exclude % {_libdir}/ %{name}/li b/%{pgsqlj ar} | |||||
202 | %exclude % {_libdir}/ %{name}/li b/%{bsdLic ense} | |||||
203 | %endif | |||||
204 | ||||||
205 | %if %{mssq l} | |||||
206 | %exclude % {_libdir}/ %{name}/li b/%{mssqlj ar} | |||||
207 | %exclude % {_libdir}/ %{name}/li b/%{msLice nse} | |||||
208 | %endif | |||||
209 | ||||||
210 | %if %{sqli te} | |||||
211 | %exclude % {_libdir}/ %{name}/li b/%{sqlite jar} | |||||
212 | %exclude % {_libdir}/ %{name}/li b/%{apache 2license} | |||||
213 | %endif | |||||
214 | ||||||
215 | %if %{mysq l} | |||||
216 | %files mys ql | |||||
217 | %defattr(0 644,root,r oot) | |||||
218 | %{_libdir} /%{name}/l ib/%{mysql jar} | |||||
219 | %{_libdir} /%{name}/l ib/%{gpl2l icense} | |||||
220 | %endif | |||||
221 | ||||||
222 | %if %{orac le} | |||||
223 | %files ora cle | |||||
224 | %defattr(0 644,root,r oot) | |||||
225 | %{_libdir} /%{name}/l ib/%{oraLi cense} | |||||
226 | %{_libdir} /%{name}/l ib/%{oraja rjdbc} | |||||
227 | %{_libdir} /%{name}/l ib/%{oraja ri18n} | |||||
228 | %endif | |||||
229 | ||||||
230 | %if %{post gresql} | |||||
231 | %files pos tgresql | |||||
232 | %defattr(0 644,root,r oot) | |||||
233 | %{_libdir} /%{name}/l ib/%{pgsql jar} | |||||
234 | %{_libdir} /%{name}/l ib/%{bsdLi cense} | |||||
235 | %endif | |||||
236 | ||||||
237 | %if %{mssq l} | |||||
238 | %files mss ql | |||||
239 | %defattr(0 644,root,r oot) | |||||
240 | %{_libdir} /%{name}/l ib/%{mssql jar} | |||||
241 | %{_libdir} /%{name}/l ib/%{msLic ense} | |||||
242 | %endif | |||||
243 | ||||||
244 | %if %{sqli te} | |||||
245 | %files sql ite | |||||
246 | %defattr(0 644,root,r oot) | |||||
247 | %{_libdir} /%{name}/l ib/%{sqlit ejar} | |||||
248 | %{_libdir} /%{name}/l ib/%{apach e2license} | |||||
249 | %endif | |||||
250 | ||||||
251 | ||||||
252 | %post | |||||
253 | ||||||
254 | %changelog | |||||
255 | * Mon Jan 25 2010 Wi lliam Lovi ns <rpmbui ld@icainfo rmatics.co m> - 1.9.5 -1 | |||||
256 | - initial public ver sion of sp ec | |||||
257 | ||||||
258 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.