]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- popt-devel is required by libgnome-devel not here
[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:        2
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 Patch1:         %{name}-exp.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.10.0
14 BuildRequires:  atk-devel >= 1:1.9.1
15 BuildRequires:  autoconf >= 2.53
16 BuildRequires:  automake
17 BuildRequires:  bison
18 BuildRequires:  flex
19 BuildRequires:  gettext-devel
20 BuildRequires:  intltool
21 BuildRequires:  libgnomeui-devel >= 2.10.0-2
22 BuildRequires:  libtool
23 Buildrequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.197
25 BuildRequires:  scrollkeeper
26 Requires(post,preun):   GConf2
27 Requires(post,postun):  scrollkeeper
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 gcalctool is a simple calculator that performs a variety of functions.
32
33 %description -l pl
34 gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
35
36 %prep
37 %setup -q
38 %patch0 -p0
39 %patch1 -p1
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --disable-schemas-install
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
55
56 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
57
58 %find_lang %{name} --with-gnome --all-name
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %gconf_schema_install gcalctool.schemas
65 %scrollkeeper_update_post
66
67 %preun
68 %gconf_schema_uninstall gcalctool.schemas
69
70 %postun
71 %scrollkeeper_update_postun
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
76 %attr(755,root,root) %{_bindir}/%{name}
77 %{_sysconfdir}/gconf/schemas/*
78 %{_desktopdir}/*
79 %{_omf_dest_dir}/%{name}
80 %{_mandir}/man1/*
This page took 0.034309 seconds and 4 git commands to generate.