]> git.pld-linux.org Git - packages/cln.git/blame - cln.spec
- tabs in preamble
[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
03a31761 4Version: 1.1.13
a5aced94 5Release: 1
4020f81b
JB
6License: GPL
7Group: Libraries
a5aced94 8Source0: ftp://ftpthep.physik.uni-mainz.de/pub/gnu/%{name}-%{version}.tar.bz2
03a31761 9# Source0-md5: 1f3d227360003b389bba14c8a5c3695a
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
96%post devel
97[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
98
99%postun devel
100[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
101
102%files
103%defattr(644,root,root,755)
104%doc ChangeLog NEWS README TODO*
b87f061d 105%attr(755,root,root) %{_libdir}/libcln.so.*.*.*
4020f81b
JB
106
107%files devel
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_bindir}/cln-config
b87f061d
JB
110%attr(755,root,root) %{_libdir}/libcln.so
111%{_libdir}/libcln.la
4020f81b
JB
112%{_includedir}/cln
113%{_mandir}/man1/cln-config.1*
b87f061d
JB
114%{_infodir}/cln.info*
115%{_aclocaldir}/cln.m4
116%{_pkgconfigdir}/cln.pc
4020f81b
JB
117%{_examplesdir}/%{name}-%{version}
118
119%files static
120%defattr(644,root,root,755)
b87f061d 121%{_libdir}/libcln.a
This page took 0.142778 seconds and 4 git commands to generate.