]> git.pld-linux.org Git - packages/hdf5.git/blob - hdf5.spec
- force to use openssl >= 0.9.7, idea by kloczek
[packages/hdf5.git] / hdf5.spec
1 Summary:        Hierarchical Data Format 5 library
2 Summary(pl):    Biblioteka HDF5 (Hierarchical Data Format 5)
3 Name:           hdf5
4 Version:        1.4.4
5 Release:        3
6 Group:          Libraries
7 License:        Nearly BSD, but changed sources must be marked
8 Source0:        ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/%{name}-%{version}/src/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-config.patch
10 URL:            http://hdf.ncsa.uiuc.edu/HDF5/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libjpeg-devel >= 6b
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool
16 BuildRequires:  openssl-devel >= 0.9.7
17 BuildRequires:  zlib-devel >= 1.1.3
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 HDF5 is a completely new Hierarchical Data Format product consisting
22 of a data format specification and a supporting library
23 implementation. HDF5 is designed to address some of the limitations of
24 the older HDF product and to address current and anticipated
25 requirements of modern systems and applications.
26
27 %description -l pl
28 HDF5 jest ca³kowicie nowym produktem Hierarchiczego Formatu Danych,
29 sk³adaj±cym siê ze specyfikacji formatu danych oraz obs³uguj±cej go
30 biblioteki. HDF5 zosta³ zaprojektowany aby pozbyæ siê ograniczeñ
31 poprzedniego HDF oraz ¿eby zaspokoiæ bie¿±ce i przysz³e potrzeby
32 wspó³czesnych systemów i aplikacji.
33
34 %package devel
35 Summary:        HDF5 library development package
36 Summary(pl):    Pliki nag³ówkowe biblioteki HDF5
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Header files for HDF5 library and HDF5 documentation.
42
43 %description devel -l pl
44 Pliki nag³ówkowe biblioteki HDF5 oraz dokumentacja HDF5.
45
46 %package static
47 Summary:        HDF5 static library
48 Summary(pl):    Statyczna biblioteka HDF5
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static version of HDF5 library.
54
55 %description static -l pl
56 Statyczna wersja biblioteki HDF5.
57
58 %package progs
59 Summary:        HDF5 utilities
60 Summary(pl):    Narzêdzia do plików HDF5
61 Group:          Applications/File
62 Requires:       %{name} = %{version}
63
64 %description progs
65 Utilities to convert from/to HDF5 format.
66
67 %description progs -l pl
68 Narzêdzia do konwersji z i to formatu HDF5.
69
70 %prep
71 %setup -q -n %{name}-%{version}
72 %patch0 -p1
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 cd c++
79 %{__aclocal}
80 %{__autoconf}
81 cd ..
82 %configure \
83         --enable-cxx
84
85 #       --enable-fortran  - requires Fortran90 compiler
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT%{_includedir}
92
93 %{__make} install \
94         libdir=$RPM_BUILD_ROOT%{_libdir} \
95         includedir=$RPM_BUILD_ROOT%{_includedir} \
96         bindir=$RPM_BUILD_ROOT%{_bindir}
97
98 find doc -name Dependencies -o -name Makefile\* | xargs rm -f
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc COPYING README.txt release_docs/{HISTORY.txt,RELEASE.txt}
109 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc doc/html
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_libdir}/lib*.la
116 %{_includedir}/*
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
121
122 %files progs
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/*
This page took 0.081248 seconds and 4 git commands to generate.