]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- merged from DEVEL
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl):    Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        5.5.41
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:  d4eb2287fa4236fc5a5bf52a930f33f5
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.10.0
13 BuildRequires:  atk-devel >= 1:1.8.0
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  intltool
19 BuildRequires:  libgnomeui-devel >= 2.10.0
20 Buildrequires:  pkgconfig
21 BuildRequires:  scrollkeeper
22 Requires(post): /usr/bin/scrollkeeper-update
23 Requires(post): GConf2
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 gcalctool is a simple calculator that performs a variety of functions.
28
29 %description -l pl
30 gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
31
32 %prep
33 %setup -q
34 %patch0 -p0
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 %configure \
41         --disable-schemas-install
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
50
51 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
52
53 %find_lang %{name} --with-gnome --all-name
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 /usr/bin/scrollkeeper-update
60 %gconf_schema_install
61
62 %postun -p /usr/bin/scrollkeeper-update
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
67 %attr(755,root,root) %{_bindir}/%{name}
68 %{_sysconfdir}/gconf/schemas/*
69 %{_desktopdir}/*
70 %{_omf_dest_dir}/%{name}
71 %{_mandir}/man1/*
This page took 0.058329 seconds and 3 git commands to generate.