]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
c10907120c81a69688eeb3380027039539bdd71e
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        Gnome calculator
2 Summary(pl):    Kalkulator dla Gnome
3 Name:           gcalctool
4 Version:        4.2.77
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        ftp://ftp.gnome.org/pub/gnome/sources//%{name}/4.2/%{name}-%{version}.tar.bz2
9 URL:            http://www.gnome.org/
10 BuildRequires:  GConf2-devel
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libgnomeui-devel
14 BuildRequires:  scrollkeeper
15 Requires(post): /usr/bin/scrollkeeper-update
16 Requires(post): GConf2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 gcalctool is a simple calculator that performs a variety of functions.
21
22 %description -l pl
23 gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__aclocal}
30 %{__autoconf}
31 %{__automake}
32 %configure \
33         --disable-schemas-install
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
44
45 %find_lang %{name} --with-gnome --all-name
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post
51 /usr/bin/scrollkeeper-update
52 %gconf_schema_install
53
54 %postun -p /usr/bin/scrollkeeper-update
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS gcalctoolrc NEWS README TODO
59 %attr(755,root,root) %{_bindir}/%{name}
60 %{_sysconfdir}/gconf/schemas/*
61 %{_datadir}/applications/*
62 %{_omf_dest_dir}/%{name}
63 %{_pixmapsdir}/*
64 %{_mandir}/man1/*
This page took 0.036915 seconds and 2 git commands to generate.