source: projects/specs/trunk/h/hdf5/hdf5-vl.spec @ 2653

Revision 2653, 5.2 KB checked in by Takemikaduchi, 13 years ago (diff)

eog-plugins,perl-Net_SSLeay,hdf5: new upstream release, others: rebuild with openssl-1.0.0c

Line 
1Name: hdf5
2Version: 1.6.10
3Release: 1%{?_dist_release}
4Summary: A general purpose library and file format for storing scientific data
5License: BSD
6Group: System Environment/Libraries
7URL: http://www.hdfgroup.org/HDF5/
8Source0: ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.bz2
9Patch1: hdf5-1.6.4-destdir.patch
10Patch2: hdf5-1.6.4-norpath.patch
11Patch3: hdf5-1.6.6-tail.patch
12Patch5: hdf5-1.6.4-ppc.patch
13Patch7: hdf5-1.6.5-x86_64.patch
14Patch8: hdf5-1.6.5-sort.patch
15Patch10: hdf5-1.6.5-open.patch
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: zlib-devel, gcc-gfortran, time
18
19%description
20HDF5 is a general purpose library and file format for storing scientific data.
21HDF5 can store two primary objects: datasets and groups. A dataset is
22essentially a multidimensional array of data elements, and a group is a
23structure for organizing objects in an HDF5 file. Using these two basic
24objects, one can create and store almost any kind of scientific data
25structure, such as images, arrays of vectors, and structured and unstructured
26grids. You can also mix and match them in HDF5 files according to your needs.
27
28%package devel
29Summary: HDF5 development files
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description devel
34HDF5 development headers and libraries.
35
36%prep
37%setup -q
38#%patch1 -p1 -b .destdir
39%patch2 -p1 -b .norpath
40#%patch3 -p1 -b .tail
41%patch5 -p1 -b .ppc
42%patch7 -p1 -b .x86_64
43%patch8 -p1 -b .sort
44#%patch10 -p1 -b .open
45
46
47%build
48export CC=gcc
49export CXX=g++
50export F9X=gfortran
51%configure --with-ssl --enable-cxx --enable-fortran \
52           --enable-threadsafe --with-pthread
53make
54
55
56%install
57rm -rf $RPM_BUILD_ROOT
58find doc/html -type f | xargs chmod -x
59%makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
60find doc/html -name Dependencies -o -name Makefile\* | xargs rm
61rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
62
63%check
64make check
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69
70%post -p /sbin/ldconfig
71
72%postun -p /sbin/ldconfig
73
74
75%files
76%defattr(-,root,root,-)
77%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
78%doc release_docs/HISTORY.txt doc/html
79%{_bindir}/gif2h5
80%{_bindir}/h52gif
81%{_bindir}/h5debug
82%{_bindir}/h5diff
83%{_bindir}/h5dump
84%{_bindir}/h5import
85%{_bindir}/h5jam
86%{_bindir}/h5ls
87%{_bindir}/h5repack
88%{_bindir}/h5repart
89%{_bindir}/h5unjam
90%attr(0755,root,root) %{_libdir}/*.so.*
91
92%files devel
93%defattr(-,root,root,-)
94%{_bindir}/h5c++
95%{_bindir}/h5cc
96%{_bindir}/h5fc
97%{_bindir}/h5redeploy
98%{_docdir}/%{name}/
99%{_includedir}/*.h
100%{_libdir}/*.a
101%{_libdir}/*.so
102%{_libdir}/*.mod
103
104
105%changelog
106* Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.10-1
107- new upstream release
108- drop Patch1,3,10
109- remove BuildRequires: openssl-devel
110
111* Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.6-2
112- applied new versioning policy
113
114* Thu Jan 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.6.6-1vl1
115- Removed krb5-devel from BuildRequires:
116- Rebuild for VineSeed
117
118* Wed Oct 17 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.6-1
119- Update to 1.6.6, drop upstreamed patches
120- Explicitly set compilers
121
122* Fri Aug 24 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-9
123- Update license tag to BSD
124- Rebuild for BuildID
125
126* Wed Aug  8 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-8
127- Fix memset typo
128- Pass mode to open with O_CREAT
129
130* Mon Feb 12 2007 Orion Poplawski <orion@cora.nwra.com> 1.6.5-7
131- New project URL
132- Add patch to use POSIX sort key option
133- Remove useless and multilib conflicting Makefiles from html docs
134  (bug #228365)
135- Make hdf5-devel own %{_docdir}/%{name}
136
137* Tue Aug 29 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-6
138- Rebuild for FC6
139
140* Wed Mar 15 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-5
141- Change rpath patch to not need autoconf
142- Add patch for libtool on x86_64
143- Fix shared lib permissions
144
145* Mon Mar 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-4
146- Add patch to avoid HDF setting the compiler flags
147
148* Mon Feb 13 2006 Orion Poplawski <orion@cora.nwra.com> 1.6.5-3
149- Rebuild for gcc/glibc changes
150
151* Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-2
152- Don't ship h5perf with missing library
153
154* Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.5-1
155- Update to 1.6.5
156
157* Wed Dec 21 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-9
158- Rebuild
159
160* Wed Nov 30 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-8
161- Package fortran files properly
162- Move compiler wrappers to devel
163
164* Fri Nov 18 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-7
165- Add patch for fortran compilation on ppc
166
167* Wed Nov 16 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-6
168- Bump for new openssl
169
170* Tue Sep 20 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-5
171- Enable fortran since the gcc bug is now fixed
172
173* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-4
174- Make example scripts executable
175
176* Wed Jul 01 2005 Orion Poplawski <orion@cora.nwra.com> 1.6.4-3
177- Add --enable-threads --with-pthreads to configure
178- Add %check
179- Add some %docs
180- Use %makeinstall
181- Add patch to fix test for h5repack
182- Add patch to fix h5diff_attr.c
183
184* Mon Jun 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-2
185- remove szip from spec, since szip license doesn't meet Fedora standards
186
187* Sun Apr 3 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.6.4-1
188- inital package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.