]> git.pld-linux.org Git - packages/dcdflib.c.git/blob - dcdflib.c.spec
- massive attack: adding Source-md5
[packages/dcdflib.c.git] / dcdflib.c.spec
1 Summary:        Library of C Routines for Cumulative Distribution Functions, Inverses etc.
2 Summary(pl):    Biblioteka funkcji C do dystrybuant, odwrotno¶ci i innych parametrów
3 Name:           dcdflib.c
4 Version:        1.1
5 Release:        1
6 # partially public domain, but ACM implementations are non-commercial
7 License:        non-commercial distribution and use
8 Group:          Libraries
9 Source0:        ftp://odin.mda.uth.tmc.edu/pub/source/%{name}-%{version}.tar.gz
10 # Source0-md5:  6e31235713c284b77809e10dd4c7c56b
11 BuildRequires:  libtool
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Library of C Routines for Cumulative Distribution Functions, Inverses
16 and Other Parameters.
17
18 %description -l pl
19 Biblioteka funkcji C do dystrybuant, odwrotno¶ci i innych parametrów.
20
21 %package devel
22 Summary:        DCDFLIB.C header files
23 Summary(pl):    Pliki nag³ówkowe DCDFLIB.C
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}
26
27 %description devel
28 DCDFLIB.C header files.
29
30 %description devel -l pl
31 Pliki nag³ówkowe DCDFLIB.C.
32
33 %package static
34 Summary:        DCDFLIB.C static library
35 Summary(pl):    Biblioteka statyczna DCDFLIB.C
36 Group:          Development/Libraries
37 Requires:       %{name}-devel = %{version}
38
39 %description static
40 DCDFLIB.C static library.
41
42 %description static -l pl
43 Biblioteka statyczna DCDFLIB.C.
44
45 %prep
46 %setup -q -n %{name}
47
48 %build
49 cd src
50 libtool %{__cc} %{rpmcflags} -c ipmpar.c
51 libtool %{__cc} %{rpmcflags} -c dcdflib.c
52 libtool %{__cc} %{rpmldflags} -o libcdflib.la -rpath %{_libdir} \
53         ipmpar.lo dcdflib.lo
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
58
59 cd src
60 libtool install libcdflib.la $RPM_BUILD_ROOT%{_libdir}
61 install cdflib.h $RPM_BUILD_ROOT%{_includedir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc HOWTOGET README
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %doc doc/*
77 %attr(755,root,root) %{_libdir}/lib*.so
78 %{_libdir}/lib*.la
79 %{_includedir}/*.h
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.a
This page took 0.064536 seconds and 3 git commands to generate.