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