]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
623232e353e6228140ef30a3b2c684367e39c3a6
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl):    Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        4.4.8
5 Release:        2
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/4.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c1adea7f8d1348a33c0734a0dfd8c643
10 Patch0:         %{name}-locale-names.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.4.0
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libgnomeui-devel >= 2.4.0
17 BuildRequires:  scrollkeeper
18 Requires(post): /usr/bin/scrollkeeper-update
19 Requires(post): GConf2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 gcalctool is a simple calculator that performs a variety of functions.
24
25 %description -l pl
26 gcalctool jest prostym kalkulatorem spe³niaj±cym wiele funkcji.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p0
32
33 mv po/{no,nb}.po
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__automake}
39 %configure \
40         --disable-schemas-install
41
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 %find_lang %{name} --with-gnome --all-name
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 /usr/bin/scrollkeeper-update
58 %gconf_schema_install
59
60 %postun -p /usr/bin/scrollkeeper-update
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS gcalctoolrc NEWS README TODO
65 %attr(755,root,root) %{_bindir}/%{name}
66 %{_sysconfdir}/gconf/schemas/*
67 %{_desktopdir}/*
68 %{_omf_dest_dir}/%{name}
69 %{_mandir}/man1/*
This page took 0.024338 seconds and 2 git commands to generate.