]> git.pld-linux.org Git - SPECS.git/blob - libcerf.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / libcerf.spec
1 Summary:        Complex error function library
2 Summary(pl.UTF-8):      Biblioteka zespolonej funkcji błędu
3 Name:           libcerf
4 Version:        1.13
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 #Source0Download: https://jugit.fz-juelich.de/mlz/libcerf/-/tags
9 Source0:        https://jugit.fz-juelich.de/mlz/libcerf/uploads/924b8d245ad3461107ec630734dfc781/%{name}-%{version}.tgz
10 # Source0-md5:  2c8466e79ca9a50f98d3dee1f81aa6dd
11 Patch0:         %{name}-libdir.patch
12 URL:            https://jugit.fz-juelich.de/mlz/libcerf
13 BuildRequires:  cmake >= 3.6
14 BuildRequires:  gcc >= 1:3.2
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Complex error function library.
19
20 %description -l pl.UTF-8
21 Biblioteka zespolonej funkcji błędu.
22
23 %package devel
24 Summary:        Header files for libcerf library
25 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libcerf
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28
29 %description devel
30 Header files for libcerf library.
31
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki libcerf.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 install -d build
41 cd build
42 %cmake ..
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} -C build install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 # packaged in man format
53 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libcerf
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post   -p /sbin/ldconfig
59 %postun -p /sbin/ldconfig
60
61 %files
62 %defattr(644,root,root,755)
63 %doc CHANGELOG COPYING README
64 %attr(755,root,root) %{_libdir}/libcerf.so.*.*
65 %attr(755,root,root) %ghost %{_libdir}/libcerf.so.1
66
67 %files devel
68 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_libdir}/libcerf.so
70 %{_includedir}/cerf.h
71 %{_pkgconfigdir}/libcerf.pc
72 %{_mandir}/man3/cdawson.3*
73 %{_mandir}/man3/cerf.3*
74 %{_mandir}/man3/cerfc.3*
75 %{_mandir}/man3/cerfcx.3*
76 %{_mandir}/man3/cerfi.3*
77 %{_mandir}/man3/dawson.3*
78 %{_mandir}/man3/erfcx.3*
79 %{_mandir}/man3/erfi.3*
80 %{_mandir}/man3/im_w_of_z.3*
81 %{_mandir}/man3/voigt.3*
82 %{_mandir}/man3/voigt_hwhm.3*
83 %{_mandir}/man3/w_of_z.3*
This page took 0.144886 seconds and 3 git commands to generate.