X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnome-terminal.spec;h=7cc19da11af61de288b22dedd7b86d4f720d9fbe;hb=dfe35624df6fe03e5acb531826c6a1dc027ad9a1;hp=339829e6bf6b8b4f7d4b086007de099a263f43b4;hpb=7f9c0d4ac49933720fb00012c12cc0a10e2a4720;p=packages%2Fgnome-terminal.git diff --git a/gnome-terminal.spec b/gnome-terminal.spec index 339829e..7cc19da 100644 --- a/gnome-terminal.spec +++ b/gnome-terminal.spec @@ -1,56 +1,60 @@ Summary: GNOME Terminal -Summary(pl): Terminal dla GNOME +Summary(pl.UTF-8): Terminal dla GNOME Name: gnome-terminal -Version: 2.6.0 +Version: 2.26.3.1 Release: 1 -License: GPL +License: GPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2 -# Source0-md5: bbb9d4d6bddaec8611d4c002842ec5b8 -Patch0: %{name}-TERM.patch -Patch1: %{name}-locale-names.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/2.26/%{name}-%{version}.tar.bz2 +# Source0-md5: b6c6c0f5f3e061da7e56f3a04385bb7b URL: http://www.gnome.org/ -BuildRequires: GConf2-devel >= 2.6.0 -Buildrequires: autoconf -BuildRequires: automake -BuildRequires: gtk+2-devel >= 2:2.4.0 -Buildrequires: gnome-vfs2-devel >= 2.6.0 -BuildRequires: intltool -BuildRequires: libglade2-devel >= 1:2.3.6 -BuildRequires: libgnomeui-devel >= 2.6.0 +BuildRequires: GConf2-devel >= 2.24.0 +BuildRequires: autoconf >= 2.53 +BuildRequires: automake >= 1:1.9 +BuildRequires: dbus-glib-devel >= 0.74 +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 1:2.16.0 +BuildRequires: gnome-common >= 2.24.0 +BuildRequires: gnome-doc-utils >= 0.14.0 +BuildRequires: gtk+2-devel >= 2:2.14.0 +BuildRequires: intltool >= 0.40.0 BuildRequires: libtool -BuildRequires: pkgconfig >= 0.12.0 -BuildRequires: rpm-build >= 4.1-10 +BuildRequires: pkgconfig >= 1:0.12.0 +BuildRequires: rpmbuild(find_lang) >= 1.23 +BuildRequires: rpmbuild(macros) >= 1.197 BuildRequires: scrollkeeper -BuildRequires: startup-notification-devel >= 0.5 -BuildRequires: vte-devel >= 0.11.10-3 -BuildRequires: xft-devel >= 2.1-2 -Requires(post): GConf2 -Requires(post): scrollkeeper -Requires: libgnomeui >= 2.6.0 +BuildRequires: startup-notification-devel >= 0.8 +BuildRequires: vte-devel >= 0.20.0 +BuildRequires: xorg-lib-libSM-devel +Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 +Requires: startup-notification >= 0.8 Requires: terminfo +Requires: vte >= 0.20.0 +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is a terminal thing that isn't finished at all. -%description -l pl -To jest terminal, na razie ca³kowicie nie dokoñczony. +%description -l pl.UTF-8 +To jest terminal, na razie całkowicie nie dokończony. %prep %setup -q -%patch0 -p1 -%patch1 -p1 - -mv po/{no,nb}.po %build -cp -f /usr/share/automake/config.sub . +%{__intltoolize} +%{__gnome_doc_common} %{__libtoolize} %{__aclocal} %{__autoconf} +%{__autoheader} %{__automake} -%configure +%configure \ + --disable-schemas-install \ + --disable-scrollkeeper %{__make} %install @@ -61,25 +65,27 @@ rm -rf $RPM_BUILD_ROOT GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ localedir=%{_localedir} -%find_lang %{name} --with-gnome --all-name +rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry + +%find_lang %{name} --with-gnome --with-omf --all-name %clean rm -rf $RPM_BUILD_ROOT %post -/usr/bin/scrollkeeper-update -%gconf_schema_install +%gconf_schema_install gnome-terminal.schemas +%scrollkeeper_update_post + +%preun +%gconf_schema_uninstall gnome-terminal.schemas -%postun -p /usr/bin/scrollkeeper-update +%postun +%scrollkeeper_update_postun %files -f %{name}.lang %defattr(644,root,root,755) -%doc README ChangeLog NEWS TODO AUTHORS -%doc %{_omf_dest_dir}/%{name} -%attr(755,root,root) %{_bindir}/* -%{_sysconfdir}/gconf/schemas/* +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/gnome-terminal %{_datadir}/%{name} -%{_libdir}/bonobo/servers/* -%{_desktopdir}/* -%{_pixmapsdir}/* -%{_datadir}/application-registry/* +%{_desktopdir}/gnome-terminal.desktop +%{_sysconfdir}/gconf/schemas/gnome-terminal.schemas