]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- updated to 5.30.2
[packages/gnome-calculator.git] / gcalctool.spec
1 Summary:        GNOME calculator
2 Summary(pl.UTF-8):      Kalkulator dla GNOME
3 Name:           gcalctool
4 Version:        5.30.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Math
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9357de6835da305ee4f0ebad509b509a
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.26.0
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake
14 BuildRequires:  bison
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  flex
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.24.0
19 BuildRequires:  gnome-doc-utils >= 0.14.0
20 BuildRequires:  gtk+2-devel >= 2:2.18.0
21 BuildRequires:  intltool >= 0.40.0
22 BuildRequires:  libtool
23 BuildRequires:  libxml2-progs
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(find_lang) >= 1.23
26 BuildRequires:  rpmbuild(macros) >= 1.197
27 BuildRequires:  scrollkeeper
28 Requires(post,postun):  scrollkeeper
29 Requires(post,preun):   GConf2
30 # sr@Latn vs. sr@latin
31 Conflicts:      glibc-misc < 6:2.7
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 gcalctool is a simple calculator that performs a variety of functions.
36
37 %description -l pl.UTF-8
38 gcalctool jest prostym kalkulatorem spełniającym wiele funkcji.
39
40 %prep
41 %setup -q
42
43 sed -i -e 's/^en@shaw//' po/LINGUAS
44 rm -f po/en@shaw.po
45
46 %build
47 %{__gnome_doc_common}
48 %{__glib_gettextize}
49 %{__intltoolize}
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         --disable-schemas-install \
57         --disable-scrollkeeper \
58         --disable-silent-rules
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %find_lang %{name} --with-gnome --with-omf --all-name
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %gconf_schema_install gcalctool.schemas
74 %scrollkeeper_update_post
75
76 %preun
77 %gconf_schema_uninstall gcalctool.schemas
78
79 %postun
80 %scrollkeeper_update_postun
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README data/gcalctoolrc
85 %attr(755,root,root) %{_bindir}/gcalccmd
86 %attr(755,root,root) %{_bindir}/gcalctool
87 %attr(755,root,root) %{_bindir}/gnome-calculator
88 %{_sysconfdir}/gconf/schemas/gcalctool.schemas
89 %{_desktopdir}/gcalctool.desktop
90 %{_datadir}/gcalctool
91 %{_mandir}/man1/gcalctool.1*
This page took 0.032433 seconds and 4 git commands to generate.