]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- 4.3.22
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl):    Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        4.3.22
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/4.3/%{name}-%{version}.tar.bz2
9 # Source0-md5:  79cac37e3328ee3cbe194c16f31c013e
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.4.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libgnomeui-devel >= 2.4.0
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 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
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 %{_desktopdir}/*
62 %{_omf_dest_dir}/%{name}
63 %{_pixmapsdir}/*
64 %{_mandir}/man1/*
This page took 0.06983 seconds and 4 git commands to generate.