]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- bug 172150
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl):    Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        5.5.42
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Math
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gcalctool/5.5/%{name}-%{version}.tar.bz2
9 # Source0-md5:  0f42e6e437f64c844b7b30e3255b02aa
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.10.0
13 BuildRequires:  atk-devel >= 1:1.9.1
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  intltool
19 BuildRequires:  libgnomeui-devel >= 2.10.0-2
20 Buildrequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.197
22 BuildRequires:  scrollkeeper
23 Requires(post,preun):   GConf2
24 Requires(post,postun):  scrollkeeper
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 gcalctool is a simple calculator that performs a variety of functions.
29
30 %description -l pl
31 gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
32
33 %prep
34 %setup -q
35 %patch0 -p0
36
37 %build
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure \
42         --disable-schemas-install
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
51
52 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
53
54 %find_lang %{name} --with-gnome --all-name
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 %gconf_schema_install gcalctool.schemas
61 %scrollkeeper_update_post
62
63 %preun
64 %gconf_schema_uninstall gcalctool.schemas
65
66 %postun
67 %scrollkeeper_update_postun
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
72 %attr(755,root,root) %{_bindir}/%{name}
73 %{_sysconfdir}/gconf/schemas/*
74 %{_desktopdir}/*
75 %{_omf_dest_dir}/%{name}
76 %{_mandir}/man1/*
This page took 0.060543 seconds and 3 git commands to generate.