- now spec is PLD coding style compliant.
[packages/genius.git] / genius.spec
CommitLineData
4801f56a 1Summary: Genius advanced calculator
2Name: genius
3Version: 0.4.1
4Release: 1
5Copyright: GPL
6Group: X11/Applications
7Source: http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
8URL: http://www.5z.com/jirka/linux.html#genius
9BuildRoot: /tmp/%{name}-%{version}-root
b334ae1f 10
11%description
12Genius is an advanced calculator and a mathematical programming language.
13It handles multiple precision floating point numbers, infinite precision
14integers, complex numbers and matrixes.
15
b334ae1f 16%prep
4801f56a 17%setup -q
b334ae1f 18
19%build
4801f56a 20CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
21./configure %{_target} \
22 --prefix=/usr/X11R6 \
23 --enable-gnome \
24 --without-included-gettext
25make
b334ae1f 26
4801f56a 27gzip -9nf README AUTHORS NEWS TODO ChangeLog
b334ae1f 28
29%install
30rm -rf $RPM_BUILD_ROOT
31
4801f56a 32make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
b334ae1f 33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
4801f56a 38%defattr(644,root,root,755)
39%doc *.gz
40%attr(755,root,root) /usr/X11R6/bin/*
41/usr/X11R6/share/genius
42/usr/X11R6/share/apps/Utilities/*
43
44%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/genius.mo
45%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/genius.mo
46%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/genius.mo
47%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/genius.mo
48%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/genius.mo
49%lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/genius.mo
50%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/genius.mo
51%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/genius.mo
52%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/genius.mo
b334ae1f 53
4801f56a 54%changelog
55