]> git.pld-linux.org Git - packages/dcdflib.c.git/blob - dcdflib.c.spec
- more about license
[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 BuildRequires:  libtool
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Library of C Routines for Cumulative Distribution Functions, Inverses
15 and Other Parameters.
16
17 %description -l pl
18 Biblioteka funkcji C do dystrybuant, odwrotno¶ci i innych parametrów.
19
20 %package devel
21 Summary:        DCDFLIB.C header files
22 Summary(pl):    Pliki nag³ówkowe DCDFLIB.C
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}
25
26 %description devel
27 DCDFLIB.C header files.
28
29 %description devel -l pl
30 Pliki nag³ówkowe DCDFLIB.C.
31
32 %package static
33 Summary:        DCDFLIB.C static library
34 Summary(pl):    Biblioteka statyczna DCDFLIB.C
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{version}
37
38 %description static
39 DCDFLIB.C static library.
40
41 %description static -l pl
42 Biblioteka statyczna DCDFLIB.C.
43
44 %prep
45 %setup -q -n %{name}
46
47 %build
48 cd src
49 libtool %{__cc} %{rpmcflags} -c ipmpar.c
50 libtool %{__cc} %{rpmcflags} -c dcdflib.c
51 libtool %{__cc} %{rpmldflags} -o libcdflib.la -rpath %{_libdir} \
52         ipmpar.lo dcdflib.lo
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
57
58 cd src
59 libtool install libcdflib.la $RPM_BUILD_ROOT%{_libdir}
60 install cdflib.h $RPM_BUILD_ROOT%{_includedir}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %doc HOWTOGET README
71 %attr(755,root,root) %{_libdir}/lib*.so.*.*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %doc doc/*
76 %attr(755,root,root) %{_libdir}/lib*.so
77 %{_libdir}/lib*.la
78 %{_includedir}/*.h
79
80 %files static
81 %defattr(644,root,root,755)
82 %{_libdir}/lib*.a
This page took 0.065369 seconds and 4 git commands to generate.