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