-
Notifications
You must be signed in to change notification settings - Fork 14
/
rave.spec
96 lines (80 loc) · 2.64 KB
/
rave.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define spec_version 0.6.25
%define dist_version 0.6.25
Summary: Reconstruction in an Abstract Versatile Environment
Name: rave
License: GPL
Group: Development/Libraries
Version: %{spec_version}
Release: %rel
Packager: Wolfgang Waltenberger
Source: http://rave.teilchen.at/%{name}-%{dist_version}.tar.gz
URL: http://rave.teilchen.at/
Prefix: %{_prefix}
Requires: clhep
BuildPrereq: clhep
BuildPrereq: swig >= 1.3.20
BuildPrereq: boost
BuildPrereq: pkgconfig
BuildPrereq: autoconf
BuildPrereq: automake
BuildPrereq: libtool
Buildroot: %{_tmppath}/%{name}-%{version}-root
%description
RAVE is a reconstruction library targeted at the high energy and nuclear
physics communities. Given a bundle of reconstructed tracks, and a magnetic
field, it can reconstruct interaction vertices. It deals with both the
problem of vertex finding (pattern recognition) and vertex fitting
(statistics). For vertex fitting it uses the powerful adaptive vertex
estimator - a novel technique that was first introduced in this project.
RAVE code is used for vertex reconstruction in the LHC experiment called CMS.
It has also already been successfully tried in the ILC communities.
Authors:
--------
Wolfgang Waltenberger <[email protected]>
Herbert Valerio Riedel <[email protected]>
%package -n rave-devel
Summary: Reconstruction in an Abstract Versatile Environment - development package
Group: Development/Libraries
Requires: rave = %{version}-%{release}
%package -n rave-java
Summary: Reconstruction in an Abstract Versatile Environment - java interface
Group: Development/Libraries
Requires: rave = %{version}-%{release}
%description -n rave-devel
Development files for rave
%description -n rave-java
Java interface to rave.
%prep
%setup -q -n %{name}-%{dist_version}
%build
export CXXFLAGS=-O2
./bootstrap
%configure
%{__make}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
# make DESTDIR=%{buildroot} install-strip
# [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf %{_infodir}/dir
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL NEWS README
%{_libdir}/*.so
%{_libdir}/*.so.*
%files -n rave-devel
%defattr(-, root, root)
%{_includedir}/rave
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
%files -n rave-java
%defattr(-, root, root)
%{_libdir}/jni/*
%{_datadir}/java/*
%changelog -n rave
* Mon Apr 03 2007 Wolfgang Waltenberger <[email protected]>
- first spec file