Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 105 lines (80 sloc) 2.449 kb
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
1 # $Id$
2 # Authority: dag
3
4 Summary: C++ Class Library for Numbers
5 Name: cln
67f8472 @DriesVerachtert some updates
DriesVerachtert authored
6 Version: 1.1.13
cf42a5f @dagwieers Added %{?dist} tag to all SPEC files (finally)
dagwieers authored
7 Release: 1%{?dist}
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
8 License: GPL
2fd0fff @dagwieers Group fixes.
dagwieers authored
9 Group: System Environment/Libraries
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
10 URL: http://www.ginac.de/CLN/
11
76fde1d @DriesVerachtert fixes
DriesVerachtert authored
12 Source: http://www.ginac.de/CLN/cln-%{version}.tar.bz2
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
97a0af0 @DriesVerachtert fixes
DriesVerachtert authored
15 BuildRequires: gmp-devel, gcc-c++
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
16
17 %description
18 A GPLed collection of C++ math classes and functions, that will bring
19 efficiency, type safety, algebraic syntax to everyone in a memory
20 and speed efficient library.
21
22 %package devel
23 Summary: Header files, libraries and development documentation for %{name}.
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
26 Requires: /sbin/install-info
27
28 %description devel
29 This package contains the header files, static libraries and development
30 documentation for %{name}. If you like to develop programs using %{name},
31 you will need to install %{name}-devel.
32
33 %prep
34 %setup
35
36 %build
37 %configure
38 %{__make} %{?_smp_mflags}
39
40 %install
41 %{__rm} -rf %{buildroot}
42 %makeinstall
43
44 # prepare documents
45 %{__rm} -rf documents/
46 %{__mkdir} documents/
47 %{__mv} %{buildroot}%{_datadir}/html documents/
f1cac25 @dagwieers Add preserve-timestamp to cp
dagwieers authored
48 %{__cp} -p --parents examples/*.cc documents/
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
49
50 %{__rm} -rf %{buildroot}%{_datadir}/dvi/
51
52 %clean
53 %{__rm} -rf %{buildroot}
54
55 %post
56 /sbin/ldconfig 2>/dev/null
57
58 %postun
59 /sbin/ldconfig 2>/dev/null
60
61 %post devel
62 /sbin/install-info --section="Math" %{_infodir}/cln.info.gz %{_infodir}/dir
63
64 %preun devel
65 if [ "$1" -eq 0 ]; then
66 /sbin/install-info --delete %{_infodir}/cln.info.gz %{_infodir}/dir
67 fi
68
69 %files
70 %defattr(-, root, root, 0755)
71 %doc ChangeLog COPYING NEWS README TODO*
72 %{_libdir}/*.so.*
73
74 %files devel
75 %defattr(-, root, root, 0755)
76 %doc documents/*
77 %doc %{_mandir}/man1/cln-config.1*
78 %doc %{_infodir}/*.info*
79 %{_bindir}/cln-config
80 %{_libdir}/*.a
81 %exclude %{_libdir}/*.la
82 %{_libdir}/*.so
83 %{_includedir}/cln/
84 %{_datadir}/aclocal/cln.m4
85 %{_libdir}/pkgconfig/cln.pc
86
87 %changelog
67f8472 @DriesVerachtert some updates
DriesVerachtert authored
88 * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 1.1.13-1
89 - Updated to release 1.1.13.
90
719bfda @DriesVerachtert fc5
DriesVerachtert authored
91 * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.1.11-1.2
92 - Rebuild for Fedora Core 5.
93
02a16fd @dagwieers Updates
dagwieers authored
94 * Mon Dec 26 2005 Dag Wieers <dag@wieers.com> - 1.1.11-1
95 - Updated to release 1.1.11.
96
76fde1d @DriesVerachtert fixes
DriesVerachtert authored
97 * Sun Nov 13 2005 Dries Verachtert <dries@ulyssis.org> - 1.1.10-1
98 - Updated to release 1.1.10.
99
2fd0fff @dagwieers Group fixes.
dagwieers authored
100 * Fri Dec 10 2004 Dag Wieers <dag@wieers.com> - 1.1.8-2
101 - Fixed Group tag.
102
103 * Wed Aug 25 2004 Dag Wieers <dag@wieers.com> - 1.1.8-1
1d09f7f @dagwieers Initial import.\nUpdated to new release.
dagwieers authored
104 - Initial package. (using DAR)
Something went wrong with that request. Please try again.