]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- package tk lang files (languages added in glibc-2.5)
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl):    Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        5.8.24
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Math
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gcalctool/5.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  953429a0f5d9ee73a47548289d02cb26
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.14.0
13 BuildRequires:  atk-devel >= 1:1.12.2
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  gettext-devel
19 BuildRequires:  intltool >= 0.35
20 BuildRequires:  libgnomeui-devel >= 2.16.0
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.197
24 BuildRequires:  scrollkeeper
25 Requires(post,preun):   GConf2 >= 2.14.0
26 Requires(post,postun):  scrollkeeper
27 Requires:       libgnomeui >= 2.16.0
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
40 %build
41 %{__gnome_doc_common}
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --disable-schemas-install \
47         --disable-scrollkeeper
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %find_lang %{name} --with-gnome --all-name
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %gconf_schema_install gcalctool.schemas
63 %scrollkeeper_update_post
64
65 %preun
66 %gconf_schema_uninstall gcalctool.schemas
67
68 %postun
69 %scrollkeeper_update_postun
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
74 %attr(755,root,root) %{_bindir}/%{name}
75 %{_sysconfdir}/gconf/schemas/gcalctool.schemas
76 %{_desktopdir}/*
77 %{_omf_dest_dir}/%{name}
78 %{_mandir}/man1/*
This page took 0.079701 seconds and 4 git commands to generate.