]> git.pld-linux.org Git - packages/cln.git/blob - cln.spec
e93a93381e28dcc2450159d9a7c498b46be6d074
[packages/cln.git] / cln.spec
1 Summary:        C++ Class Library for Numbers
2 Summary(pl):    Biblioteka klas C++ dla liczb
3 Name:           cln
4 Version:        1.1.5
5 Release:        4
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.ilog.fr/pub/Users/haible/gnu/%{name}-%{version}.tar.gz
9 # Source0-md5:  55d9e26806bfe9023c09caf2d7e7e91b
10 URL:            http://www.ginac.de/CLN/
11 BuildRequires:  gmp-devel
12 BuildRequires:  libstdc++-devel
13 Obsoletes:      libcln2
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A GPLed collection of C++ math classes and functions, that will bring
18 efficiency, type safety, algebraic syntax to everyone in a memory and
19 speed efficient library.
20
21 %description -l pl
22 Objêty licencj± GPL zbiór klas i funkcji matematycznych C++ daj±cy
23 wydajno¶æ, bezpieczne typy i sk³adniê algebraiczn±.
24
25 %package devel
26 Summary:        Development files for programs using the CLN library
27 Summary(pl):    Pliki do programowania z u¿yciem biblioteki CLN
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30 Obsoletes:      libcln2-devel
31
32 %description devel
33 This package is necessary if you wish to develop software based on the
34 CLN library.
35
36 %description devel -l pl
37 Ten pakiet jest niezbêdny do tworzenia oprogramowania opartego na
38 bibliotece CLN.
39
40 %package static
41 Summary:        Static CLN library
42 Summary(pl):    Statyczna biblioteka CLN
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static CLN library.
48
49 %description static -l pl
50 Statyczna biblioteka CLN.
51
52 %prep
53 %setup -q
54
55 %build
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64 %{__make} install DESTDIR=$RPM_BUILD_ROOT
65
66 install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %post devel
75 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
76
77 %postun devel
78 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
79
80 %files
81 %defattr(644,root,root,755)
82 %doc ChangeLog NEWS README TODO*
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/cln-config
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %{_libdir}/lib*.la
90 %{_includedir}/cln
91 %{_mandir}/man1/cln-config.1*
92 %{_infodir}/*.info*
93 %{_aclocaldir}/*.m4
94 %{_examplesdir}/%{name}-%{version}
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.035189 seconds and 2 git commands to generate.