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