Revision: | 1.1 |
Committed: | Mon Apr 3 21:53:19 2006 UTC (19 years ago) by steen |
Branch: | MAIN |
CVS Tags: | CRABSERVER_TEST_BUILD_V4, CRABSERVER_TEST_BUILD_V3, CRABSERVER_TEST_BUILD_V2, CRABSERVER_TEST_BUILD_V1, forCRABSERVER104test, forCRABSERVER103, PRODAGENT_0_10_12_V10, PRODAGENT_0_10_12_V9, PRODAGENT_0_10_12_V8, PRODAGENT_0_10_12_V7, PRODAGENT_0_10_12_V6, PRODAGENT_0_10_12_V5, PRODAGENT_0_10_12_V4, forCS102pre4, PRODAGENT_0_10_12_V3, PRODAGENT_0_10_12_V2, PRODAGENT_0_10_12, PRODAGENT_0_10_3, PRODAGENT_0_10_3_20080521, PRODAGENT_0_8_3_SL4, forPA070pre3-slc3, forPA070pre3-slc4, forPA070pre3-slc, forPA061, forPA060pre7-slc4, forPA060pre3, forDBS106, forPA050pre3, WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, forPA030, forPA020, PR_0_5_4, PR_0_5_0, PR_0_4_21, PRODREQUEST_0_4_0, PR0_3_13, PR0_3_12, PR0-3-11, forPR034, forPR033, forPIL116, forPR032, forPR030, forPR020, forPA011, forPR010, forPA010, af20060928, pe20060827a, for100pre1, for091, for082, for090, CMSSW_0_8_1, for090_RC1, CMSSW_0_9_0_pre3, nr_baran081_t1, for080_testfixes1, for090p2, forCMSSW090p2, for080_testfixes, for090p2_RC5, for090p2_RC4, for090p2_RC3, for090p2_RC2, for090p2_RC1, ProdAgent_pa17, for081, for080_amd64, for080, for080p4, for080pre3, phedex_2_3_series, forLCG_44, forCMSSW_0_8_0_pre2, V00-01-02, V00-01-2, V00-01-01, V00-01-00, V00-00-11, V00-00-10, V00-00-09, V00-00-08, V00-00-07, V00-00-06, V00-00-05, V00-00-04, V00-00-03, V00-00-02, V00-00-01, V00-00-00 |
Log Message: | Add Clarens dependencies *** Note: SWIG 1.3.19 needed my m2crypto, while 1.3.28 is in CVS Apache 2.0.x needed by Clarens, but 2.2.x in CVS |
# | User | Rev | Content |
---|---|---|---|
1 | steen | 1.1 | ### RPM external libjio 0.22 |
2 | # package information | ||
3 | Name: libjio | ||
4 | Summary: Journalled IO Library | ||
5 | URL: http://users.auriga.wearlab.de/~alb/libjio/ | ||
6 | Vendor: Alberto Bertogli <albertogli@telpin.com.ar> | ||
7 | Packager: Conrad Steenberg <conrad@hep.caltech.edu> | ||
8 | #License: Open Software License version 2.0 | ||
9 | |||
10 | # list of sources | ||
11 | Source: http://users.auriga.wearlab.de/~alb/libjio/files/%{v}/%{n}-%{v}.tar.bz2 | ||
12 | |||
13 | # build information | ||
14 | Requires: gcc | ||
15 | |||
16 | %description | ||
17 | Libjio is a userspace library to do journaled, transaction-oriented I/O. | ||
18 | |||
19 | It provides a very simple API to commit and rollback transactions, and on | ||
20 | top of that a UNIX-alike set of functions to perform most regular operations | ||
21 | (ie. open(), read(), write()) in a non-intrusive threadsafe and atomic way, | ||
22 | with safe and fast crash recovery. This allows the library to guarantee file | ||
23 | integrity even after unexpected crashes, never leaving your files in an | ||
24 | inconsistent state. On the disk, the file you work on is exactly like a | ||
25 | regular one, but a special directory is created to store in-flight | ||
26 | transactions. | ||
27 | |||
28 | %build | ||
29 | make | ||
30 | |||
31 | %install | ||
32 | # rm -rf %i | ||
33 | |||
34 | mkdir -p -m 755 \ | ||
35 | %i/lib | ||
36 | |||
37 | mkdir -p -m 755 \ | ||
38 | %i/bin | ||
39 | |||
40 | mkdir -p -m 755 \ | ||
41 | %i/include | ||
42 | |||
43 | mkdir -p -m 755 \ | ||
44 | %i/doc/libjio-%{v} | ||
45 | |||
46 | #ansi.c check.o common.h jiofsck libjio.h README unix.c | ||
47 | #ansi.o checksum.c common.o jiofsck.c libjio.so samples unix.o | ||
48 | #bindings checksum.o doc jiofsck.o Make.conf trans.c UPGRADING | ||
49 | #check.c common.c INSTALL libjio.a Makefile trans.o utils | ||
50 | |||
51 | install -m 755 \ | ||
52 | jiofsck \ | ||
53 | %i/bin | ||
54 | |||
55 | |||
56 | install -m 644 \ | ||
57 | libjio.h \ | ||
58 | %i/include | ||
59 | |||
60 | |||
61 | install -m 644 \ | ||
62 | libjio.so libjio.a \ | ||
63 | %i/lib | ||
64 | |||
65 | install -m 644 \ | ||
66 | INSTALL README UPGRADING \ | ||
67 | %i/doc/libjio-%{v} | ||
68 | |||
69 | strip %i/bin/* >/dev/null 2>&1 || true | ||
70 |