source: projects/specs/trunk/n/netcdf-cxx/netcdf-cxx-vl.spec @ 10767

Revision 10767, 3.9 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:           netcdf-cxx
2Version:        4.2
3Release:        13%{?_dist_release}
4Summary:        Legacy netCDF C++ library
5Summary(ja):    レガシーな netCDF C++ ライブラリ
6
7Group:          System Environment/Libraries
8License:        NetCDF
9URL:            http://www.unidata.ucar.edu/software/netcdf/
10Source0:        ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-%{version}.tar.gz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  netcdf-devel
14
15%description
16Legacy netCDF C++ library.  This library is provided for backward
17compatibility only. New C++ development should be done with the netCDF
18CXX4 C++ library.
19
20
21%package devel
22Summary:         Development files legacy netCDF C++ library
23Summary(ja):     レガシーな netCDF C++ ライブラリの開発用ファイル
24Group:           Development/Libraries
25Requires:        %{name} = %{version}-%{release}
26Requires:        netcdf-devel
27Requires(post):  install-info
28Requires(preun): install-info
29
30%description devel
31This package contains the legacy netCDF C++ library header files and shared
32devel library.
33
34
35%package static
36Summary:        Static libraries for legacy netCDF C++ library
37Summary(ja):    レガシーな netCDF C++ 静的ライブラリ
38Group:          Development/Libraries
39Requires:       %{name}-devel = %{version}-%{release}
40
41%description static
42This package contains the netCDF static libraries.
43
44
45%prep
46%setup -q
47
48
49%build
50%configure
51make %{?_smp_mflags}
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56make install DESTDIR=$RPM_BUILD_ROOT
57
58rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
59rm -f $RPM_BUILD_ROOT%{_infodir}/dir
60
61
62%check
63make check
64
65%clean
66rm -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
77if [ "$1" = 0 ]; then
78    /sbin/install-info --delete %{_infodir}/%{name}.info \
79                       %{_infodir}/dir 2>/dev/null || :
80fi
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
Note: See TracBrowser for help on using the repository browser.