]> git.pld-linux.org Git - packages/gnome-calculator.git/blobdiff - gcalctool.spec
- updated to 6.0.1
[packages/gnome-calculator.git] / gcalctool.spec
index c4a41c4e6274e0091aa4a5e9b19e23243f6c6938..1b3961cc6a8521ab6a770ccd08fe22c3a1e041ab 100644 (file)
@@ -1,29 +1,36 @@
 Summary:       GNOME calculator
 Summary(pl.UTF-8):     Kalkulator dla GNOME
 Name:          gcalctool
-Version:       5.20.2
+Version:       6.0.1
 Release:       1
 License:       GPL v2
-Group:         X11/Applications/Math
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gcalctool/5.20/%{name}-%{version}.tar.bz2
-# Source0-md5: bcde10b8029d3a513183e8aac9506c1f
-URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.20.0
-BuildRequires: atk-devel >= 1:1.20.0
+Group:         X11/Applications
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gcalctool/6.0/%{name}-%{version}.tar.bz2
+# Source0-md5: b88f518ff1a6838e831625402a901704
+URL:           http://live.gnome.org/Gcalctool
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
 BuildRequires: bison
+BuildRequires: docbook-dtd412-xml
 BuildRequires: flex
 BuildRequires: gettext-devel
-BuildRequires: gnome-doc-utils >= 0.12.0
-BuildRequires: gtk+2-devel >= 2:2.12.0
-BuildRequires: intltool >= 0.36.1
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.14.0
+BuildRequires: gtk+3-devel >= 3.0.0
+BuildRequires: intltool >= 0.40.0
 BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: libxml2-progs
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.592
 BuildRequires: scrollkeeper
+Requires(post,postun): glib2 >= 1:2.26.0
 Requires(post,postun): scrollkeeper
-Requires(post,preun):  GConf2
+Requires:      dconf
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,10 +49,11 @@ gcalctool jest prostym kalkulatorem spełniającym wiele funkcji.
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --disable-schemas-install \
-       --disable-scrollkeeper
+       --disable-scrollkeeper \
+       --disable-silent-rules
 %{__make}
 
 %install
@@ -54,40 +62,27 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name} --with-gnome --with-omf --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install gcalctool.schemas
 %scrollkeeper_update_post
-
-%preun
-%gconf_schema_uninstall gcalctool.schemas
+%glib_compile_schemas
 
 %postun
 %scrollkeeper_update_postun
+%glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO gcalctoolrc
-%attr(755,root,root) %{_bindir}/%{name}
-%{_sysconfdir}/gconf/schemas/gcalctool.schemas
-%{_desktopdir}/*.desktop
-%dir %{_omf_dest_dir}/%{name}
-%{_omf_dest_dir}/gcalctool/gcalctool-C.omf
-%lang(bg) %{_omf_dest_dir}/gcalctool/gcalctool-bg.omf
-%lang(de) %{_omf_dest_dir}/gcalctool/gcalctool-de.omf
-%lang(es) %{_omf_dest_dir}/gcalctool/gcalctool-es.omf
-%lang(fr) %{_omf_dest_dir}/gcalctool/gcalctool-fr.omf
-%lang(it) %{_omf_dest_dir}/gcalctool/gcalctool-it.omf
-%lang(ja) %{_omf_dest_dir}/gcalctool/gcalctool-ja.omf
-%lang(ko) %{_omf_dest_dir}/gcalctool/gcalctool-ko.omf
-%lang(oc) %{_omf_dest_dir}/gcalctool/gcalctool-oc.omf
-%lang(pt_BR) %{_omf_dest_dir}/gcalctool/gcalctool-pt_BR.omf
-%lang(sv) %{_omf_dest_dir}/gcalctool/gcalctool-sv.omf
-%lang(zh_CN) %{_omf_dest_dir}/gcalctool/gcalctool-zh_CN.omf
-%lang(zh_HK) %{_omf_dest_dir}/gcalctool/gcalctool-zh_HK.omf
-%lang(zh_TW) %{_omf_dest_dir}/gcalctool/gcalctool-zh_TW.omf
-%{_mandir}/man1/*.1*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/gcalccmd
+%attr(755,root,root) %{_bindir}/gcalctool
+%attr(755,root,root) %{_bindir}/gnome-calculator
+%{_desktopdir}/gcalctool.desktop
+%{_datadir}/gcalctool
+%{_datadir}/glib-2.0/schemas/org.gnome.gcalctool.gschema.xml
+%{_mandir}/man1/gcalccmd.1*
+%{_mandir}/man1/gcalctool.1*
This page took 0.202282 seconds and 4 git commands to generate.