]> git.pld-linux.org Git - packages/gnome-calculator.git/blob - gcalctool.spec
- updated to 2.26.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.26.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Math
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.26/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bdc50a2b1eca2e779268f084187a5140
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:  flex
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-common >= 2.24.0
18 BuildRequires:  gnome-doc-utils >= 0.14.0
19 BuildRequires:  gtk+2-devel >= 2:2.16.0
20 BuildRequires:  intltool >= 0.40.0
21 BuildRequires:  libtool
22 BuildRequires:  libglade2-devel >= 1:2.6.2
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.23
25 BuildRequires:  rpmbuild(macros) >= 1.197
26 BuildRequires:  scrollkeeper
27 Requires(post,postun):  scrollkeeper
28 Requires(post,preun):   GConf2
29 # sr@Latn vs. sr@latin
30 Conflicts:      glibc-misc < 6:2.7
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 gcalctool is a simple calculator that performs a variety of functions.
35
36 %description -l pl.UTF-8
37 gcalctool jest prostym kalkulatorem spełniającym wiele funkcji.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__gnome_doc_common}
44 %{__glib_gettextize}
45 %{__intltoolize}
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --disable-schemas-install \
53         --disable-scrollkeeper
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %find_lang %{name} --with-gnome --with-omf --all-name
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 %gconf_schema_install gcalctool.schemas
69 %scrollkeeper_update_post
70
71 %preun
72 %gconf_schema_uninstall gcalctool.schemas
73
74 %postun
75 %scrollkeeper_update_postun
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
80 %attr(755,root,root) %{_bindir}/gcalctool
81 %attr(755,root,root) %{_bindir}/gnome-calculator
82 %{_sysconfdir}/gconf/schemas/gcalctool.schemas
83 %{_desktopdir}/gcalctool.desktop
84 %{_datadir}/gcalctool
85 %{_mandir}/man1/gcalctool.1*
This page took 0.049771 seconds and 4 git commands to generate.