1 | Name: netcdf-cxx |
---|
2 | Version: 4.2 |
---|
3 | Release: 13%{?_dist_release} |
---|
4 | Summary: Legacy netCDF C++ library |
---|
5 | Summary(ja): レガシーな netCDF C++ ライブラリ |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: NetCDF |
---|
9 | URL: http://www.unidata.ucar.edu/software/netcdf/ |
---|
10 | Source0: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: netcdf-devel |
---|
14 | |
---|
15 | %description |
---|
16 | Legacy netCDF C++ library. This library is provided for backward |
---|
17 | compatibility only. New C++ development should be done with the netCDF |
---|
18 | CXX4 C++ library. |
---|
19 | |
---|
20 | |
---|
21 | %package devel |
---|
22 | Summary: Development files legacy netCDF C++ library |
---|
23 | Summary(ja): レガシーな netCDF C++ ライブラリの開発用ファイル |
---|
24 | Group: Development/Libraries |
---|
25 | Requires: %{name} = %{version}-%{release} |
---|
26 | Requires: netcdf-devel |
---|
27 | Requires(post): install-info |
---|
28 | Requires(preun): install-info |
---|
29 | |
---|
30 | %description devel |
---|
31 | This package contains the legacy netCDF C++ library header files and shared |
---|
32 | devel library. |
---|
33 | |
---|
34 | |
---|
35 | %package static |
---|
36 | Summary: Static libraries for legacy netCDF C++ library |
---|
37 | Summary(ja): レガシーな netCDF C++ 静的ライブラリ |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name}-devel = %{version}-%{release} |
---|
40 | |
---|
41 | %description static |
---|
42 | This package contains the netCDF static libraries. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | |
---|
49 | %build |
---|
50 | %configure |
---|
51 | make %{?_smp_mflags} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
57 | |
---|
58 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
59 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
60 | |
---|
61 | |
---|
62 | %check |
---|
63 | make check |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | %post devel |
---|
73 | /sbin/install-info %{_infodir}/%{name}.info \ |
---|
74 | %{_infodir}/dir 2>/dev/null || : |
---|
75 | |
---|
76 | %preun devel |
---|
77 | if [ "$1" = 0 ]; then |
---|
78 | /sbin/install-info --delete %{_infodir}/%{name}.info \ |
---|
79 | %{_infodir}/dir 2>/dev/null || : |
---|
80 | fi |
---|
81 | |
---|
82 | |
---|
83 | %files |
---|
84 | %doc COPYRIGHT cxx/README |
---|
85 | %{_libdir}/libnetcdf_c++.so.* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %doc examples man4/%{name}.pdf |
---|
89 | %{_includedir}/ncvalues.h |
---|
90 | %{_includedir}/netcdf.hh |
---|
91 | %{_includedir}/netcdfcpp.h |
---|
92 | %{_libdir}/libnetcdf_c++.so |
---|
93 | %{_infodir}/%{name}.info* |
---|
94 | |
---|
95 | %files static |
---|
96 | %{_libdir}/libnetcdf_c++.a |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 4.2-13 |
---|
101 | - rebuild with gcc-5.4.0 |
---|
102 | |
---|
103 | * Tue Jan 27 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.2-12 |
---|
104 | - Initial build for Vine Linux |
---|
105 | |
---|
106 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-11 |
---|
107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
108 | |
---|
109 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-10 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
111 | |
---|
112 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-9 |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
114 | |
---|
115 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-8 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
117 | |
---|
118 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-7 |
---|
119 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
120 | |
---|
121 | * Wed Mar 21 2012 Orion Poplawski <orion@cora.nwra.com> - 4.2-6 |
---|
122 | - Add Requires netcdf-devel |
---|
123 | |
---|
124 | * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-5 |
---|
125 | - Rebuilt for c++ ABI breakage |
---|
126 | |
---|
127 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-4 |
---|
128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
129 | |
---|
130 | * Mon Dec 5 2011 Orion Poplawski <orion@cora.nwra.com> - 4.2-3 |
---|
131 | - Move info file to -devel |
---|
132 | - Add examples and pdf to -devel documentation |
---|
133 | - Drop %%defattr, %%clean, BuildRoot |
---|
134 | |
---|
135 | * Mon Oct 3 2011 Orion Poplawski <orion@cora.nwra.com> - 4.2-2 |
---|
136 | - Use %%{?_isa} in Requires |
---|
137 | - Change -static to require the -devel package |
---|
138 | |
---|
139 | * Fri Sep 30 2011 Orion Poplawski <orion@cora.nwra.com> - 4.2-1 |
---|
140 | - Initial package |
---|