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