]> git.pld-linux.org Git - packages/cln.git/blame - cln.spec
- updated to 1.2.2
[packages/cln.git] / cln.spec
CommitLineData
4020f81b 1Summary: C++ Class Library for Numbers
091de089 2Summary(pl.UTF-8): Biblioteka klas C++ dla liczb
4020f81b 3Name: cln
20ece97f 4Version: 1.2.2
a5aced94 5Release: 1
4020f81b
JB
6License: GPL
7Group: Libraries
a5aced94 8Source0: ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
20ece97f 9# Source0-md5: 6b479281fec86314b4c7a9357bd83ef8
00d3492b 10Patch0: %{name}-info.patch
4020f81b 11URL: http://www.ginac.de/CLN/
00d3492b 12BuildRequires: autoconf >= 2.50
1549b004 13BuildRequires: automake
14aacc5d 14BuildRequires: gmp-devel >= 3.0
4020f81b 15BuildRequires: libstdc++-devel
00d3492b 16BuildRequires: libtool >= 2:1.5
5aaa6e6d 17BuildRequires: tetex-dvips
18BuildRequires: tetex-fonts-latex
19BuildRequires: tetex-format-plain
20BuildRequires: tetex-metafont
fb1add03 21BuildRequires: texinfo
5aaa6e6d 22BuildRequires: texinfo-texi2dvi
14aacc5d 23Requires: gmp >= 3.0
4020f81b
JB
24Obsoletes: libcln2
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
06fccf93
JB
27# won't work with -O0 because of static const initialization loops
28%define debugcflags -O1 -g
29
4020f81b
JB
30%description
31A GPLed collection of C++ math classes and functions, that will bring
32efficiency, type safety, algebraic syntax to everyone in a memory and
33speed efficient library.
34
0b66a8dd
JR
35%description -l pl.UTF-8
36Objęty licencją GPL zbiór klas i funkcji matematycznych C++ dający
37wydajność, bezpieczne typy i składnię algebraiczną.
4020f81b
JB
38
39%package devel
40Summary: Development files for programs using the CLN library
091de089 41Summary(pl.UTF-8): Pliki do programowania z użyciem biblioteki CLN
4020f81b
JB
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
14aacc5d 44Requires: gmp-devel >= 3.0
00d3492b 45Requires: libstdc++-devel
4020f81b
JB
46Obsoletes: libcln2-devel
47
48%description devel
49This package is necessary if you wish to develop software based on the
50CLN library.
51
0b66a8dd
JR
52%description devel -l pl.UTF-8
53Ten pakiet jest niezbędny do tworzenia oprogramowania opartego na
4020f81b
JB
54bibliotece CLN.
55
56%package static
57Summary: Static CLN library
091de089 58Summary(pl.UTF-8): Statyczna biblioteka CLN
4020f81b
JB
59Group: Development/Libraries
60Requires: %{name}-devel = %{version}-%{release}
61
62%description static
63Static CLN library.
64
0b66a8dd 65%description static -l pl.UTF-8
4020f81b
JB
66Statyczna biblioteka CLN.
67
68%prep
69%setup -q
00d3492b 70%patch0 -p1
00d3492b 71
b87f061d 72rm -f m4/libtool.m4
4020f81b
JB
73
74%build
00d3492b 75%{__libtoolize}
b87f061d 76%{__aclocal} -I m4
00d3492b 77%{__autoconf}
4020f81b 78%configure
4020f81b
JB
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
84
1549b004
JB
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
4020f81b
JB
87
88install examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
5a352b63 96%post devel -p /sbin/postshell
11c02087 97-/usr/sbin/fix-info-dir -c %{_infodir}
4020f81b 98
5a352b63 99%postun devel -p /sbin/postshell
11c02087 100-/usr/sbin/fix-info-dir -c %{_infodir}
4020f81b
JB
101
102%files
103%defattr(644,root,root,755)
104%doc ChangeLog NEWS README TODO*
b87f061d 105%attr(755,root,root) %{_libdir}/libcln.so.*.*.*
5a352b63 106%attr(755,root,root) %ghost %{_libdir}/libcln.so.5
4020f81b
JB
107
108%files devel
109%defattr(644,root,root,755)
b87f061d
JB
110%attr(755,root,root) %{_libdir}/libcln.so
111%{_libdir}/libcln.la
4020f81b 112%{_includedir}/cln
b87f061d 113%{_infodir}/cln.info*
b87f061d 114%{_pkgconfigdir}/cln.pc
4020f81b
JB
115%{_examplesdir}/%{name}-%{version}
116
117%files static
118%defattr(644,root,root,755)
b87f061d 119%{_libdir}/libcln.a
This page took 0.112112 seconds and 4 git commands to generate.