/[packages]/cauldron/genius/current/SPECS/genius.spec
ViewVC logotype

Contents of /cauldron/genius/current/SPECS/genius.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 679492 - (show annotations) (download)
Tue Sep 16 15:56:53 2014 UTC (5 years, 8 months ago) by umeabot
File size: 1861 byte(s)
Mageia 5 Mass Rebuild
1
2 %define url_ver %(echo %{version}|cut -d. -f1,2)
3
4 Summary: A general purpose calculator and math tool
5 Name: genius
6 Version: 1.0.18
7 Release: %mkrel 2
8 License: GPLv3+
9 Group: Sciences/Mathematics
10 URL: http://www.jirka.org/genius.html
11 Source: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
12 BuildRequires: intltool >= 0.21
13 BuildRequires: pkgconfig(glib-2.0) >= 2.12.0
14 BuildRequires: pkgconfig(gmodule-2.0) >= 2.12.0
15 BuildRequires: pkgconfig(gio-2.0) >= 2.16.0
16 BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0
17 BuildRequires: pkgconfig(vte) >= 0.17.1
18 BuildRequires: pkgconfig(gtksourceview-2.0) >= 2.0.2
19 BuildRequires: gmp-devel
20 BuildRequires: readline-devel
21 BuildRequires: mpfr-devel
22 BuildRequires: pkgconfig(tinfo)
23 BuildRequires: flex
24 BuildRequires: bison
25 BuildRequires: scrollkeeper
26 BuildRequires: automake
27 BuildRequires: gnome-doc-utils
28 Requires: ghostscript
29
30 %description
31 Genius is an advanced calculator and a mathematical programming language.
32 It handles multiple precision floating point numbers, infinite precision
33 integers, complex numbers and matrixes.
34
35 %prep
36 %setup -q
37 %apply_patches
38
39 %build
40 %configure2_5x --disable-scrollkeeper --disable-update-mimedb
41 %make
42
43 %install
44 %makeinstall_std
45
46 %{find_lang} %{name} --with-gnome
47
48 # remove stuff not distributed
49 # pointless to include header, no plugin has been developed in 4 yrs
50 rm -rf %{buildroot}%{_includedir}
51 rm -f %{buildroot}%{_libdir}/genius/*.a \
52 %{buildroot}%{_libdir}/genius/*.la
53
54 %files -f %{name}.lang
55 %doc AUTHORS NEWS README
56 %{_bindir}/*
57 %{_datadir}/applications/*.desktop
58 %{_datadir}/%{name}
59 %{_datadir}/application-registry/*
60 %{_datadir}/mime/packages/*
61 %{_datadir}/mime-info/*
62 %{_datadir}/omf/*
63 %{_iconsdir}/hicolor/*/apps/gnome-genius.png
64 %{_iconsdir}/hicolor/*/apps/genius-stock-plot.png
65 %{_libdir}/%{name}
66 %{_libexecdir}/genius-readline-helper-fifo
67
68

  ViewVC Help
Powered by ViewVC 1.1.28