Hello community, here is the log from the commit of package mc for openSUSE:Factory checked in at Fri Mar 19 09:44:12 CET 2010. -------- --- GNOME/mc/mc.changes 2009-10-11 12:31:02.000000000 +0200 +++ /mounts/work_src_done/STABLE/mc/mc.changes 2010-03-18 08:35:23.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 18 07:35:09 UTC 2010 - prusnak@suse.cz + +- little cleanup + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mc.spec ++++++ --- /var/tmp/diff_new_pack.Y8xpOs/_old 2010-03-19 09:41:07.000000000 +0100 +++ /var/tmp/diff_new_pack.Y8xpOs/_new 2010-03-19 09:41:07.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mc (Version 4.6.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,19 +19,16 @@ Name: mc -BuildRequires: audiofile-devel docbook-toys e2fsprogs-devel fdupes glib2-devel gpm indent jpeg libjpeg-devel libpng-devel readline-devel recode slang-devel update-desktop-files xorg-x11-devel -%define _prefix /usr -License: GPL v2 or later +Summary: Midnight Commander Group: Productivity/File utilities -PreReq: permissions -AutoReqProv: on +License: GPLv2+ +Url: http://www.ibiblio.org/mc/ Version: 4.6.2 -Release: 6 -Summary: Midnight Commander -Source: mc-4.6.2.tar.bz2 +Release: 7 +Source: mc-%{version}.tar.bz2 Source1: x11_browser -Source2: %name.desktop -Source3: %name.png +Source2: %{name}.desktop +Source3: %{name}.png Patch0: mc-utf8.patch Patch1: 00-70-utf8-common.patch Patch2: 00-73-utf8-bottom-buttons-width.patch @@ -74,7 +71,22 @@ Patch45: mc-mkdir_mc_home.patch # BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://www.ibiblio.org/mc/ +BuildRequires: audiofile-devel +BuildRequires: docbook-toys +BuildRequires: e2fsprogs-devel +BuildRequires: fdupes +BuildRequires: glib2-devel +BuildRequires: gpm +BuildRequires: indent +BuildRequires: jpeg +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: readline-devel +BuildRequires: recode +BuildRequires: slang-devel +BuildRequires: update-desktop-files +BuildRequires: xorg-x11-devel +Requires(pre): permissions Recommends: %{name}-lang = %{version} %description @@ -97,11 +109,8 @@ commands, like copy and move, the second directory is used as the target directory. -%define INSTALL install -m755 -s -%define INSTALL_DIR install -d -m755 -%define INSTALL_DATA install -m644 -%lang_package +%lang_package %prep %setup -q %patch0 -p 1 @@ -186,12 +195,8 @@ autoreconf --force --install %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security -Wno-unused-parameter export CFLAGS="$RPM_OPT_FLAGS %{warn_flags}" -./configure \ - --mandir=%{_mandir} \ - --prefix=%{_prefix} \ +%configure \ --localstatedir=/var/lib \ - --libexecdir=%{_libdir} \ - --libdir=%{_libdir} \ --enable-charset \ --with-samba make %{?jobs:-j%{jobs}} @@ -199,43 +204,43 @@ %install make DESTDIR=%{buildroot} install # clean up this setuid problem for now -chmod 755 %{buildroot}/%{_libdir}/mc/cons.saver +chmod 755 %{buildroot}/%{_libexecdir}/mc/cons.saver # copy Korean mc hint message, # install -m 0644 %{SOURCE3} %{datadir}/mc/ #install the shell functions for bourne shell and csh -mkdir -p %{buildroot}/etc/profile.d -install -m 0644 lib/mc.sh lib/mc.csh %{buildroot}/etc/profile.d +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +install -m 0644 lib/mc.sh lib/mc.csh %{buildroot}%{_sysconfdir}/profile.d #support script for calling available GUI webbrosers -install -m 755 %{SOURCE1} %{buildroot}/usr/share/mc/bin -mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/ -install -m 644 %{S:3} $RPM_BUILD_ROOT/usr/share/pixmaps/%name.png +install -m 755 %{SOURCE1} %{buildroot}%{_datadir}/mc/bin +install -D -m 644 %{S:3} %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -i %name System FileManager %{find_lang} %{name} -%fdupes -s $RPM_BUILD_ROOT/usr +%fdupes -s %{buildroot}%{_prefix} %clean rm -rf %{buildroot} %post %run_permissions + %verifyscript -%verify_permissions -e /usr/lib/mc/cons.saver +%verify_permissions -e %{_libexecdir}/mc/cons.saver %files %defattr(-, root, root) %doc ABOUT-NLS COPYING NEWS README -%config /etc/profile.d/* +%config %{_sysconfdir}/profile.d/* %{_bindir}/mc* -%dir %{_prefix}/%{_lib}/mc -%verify(not mode) %{_prefix}/%{_lib}/mc/cons.saver +%dir %{_libexecdir}/mc +%verify(not mode) %{_libexecdir}/mc/cons.saver %{_mandir}/man1/* #%{_mandir}/man3/* %{_datadir}/mc %exclude %{_datadir}/mc/mc.hint.* %exclude %{_datadir}/mc/mc.hlp.* %exclude %{_datadir}/mc/mc.menu.* -/usr/share/applications/%name.desktop -/usr/share/pixmaps/%name.png +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png %lang(es) %doc %{_mandir}/es %lang(hu) %doc %{_mandir}/hu %lang(it) %doc %{_mandir}/it ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org