commit ntfs-config for openSUSE:Factory
Hello community, here is the log from the commit of package ntfs-config for openSUSE:Factory checked in at Mon Feb 14 01:38:33 CET 2011. -------- --- ntfs-config/ntfs-config.changes 2010-09-06 18:06:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/ntfs-config/ntfs-config.changes 2011-02-12 20:26:30.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Feb 12 19:34:06 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. +- Splut lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntfs-config.spec ++++++ --- /var/tmp/diff_new_pack.7gNwG6/_old 2011-02-14 01:38:13.000000000 +0100 +++ /var/tmp/diff_new_pack.7gNwG6/_new 2011-02-14 01:38:13.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package ntfs-config (Version 1.0.1) +# spec file for package ntfs-config # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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,13 +19,8 @@ Name: ntfs-config -BuildRequires: fdupes hal-devel intltool perl-XML-Parser python-gtk update-desktop-files -Requires: ntfs-3g -Requires: python-gtk -Requires: python-xml -Requires: /usr/bin/readlink Version: 1.0.1 -Release: 152 +Release: 153 Url: http://flomertens.free.fr/ntfs-config/ License: GPLv2+ Group: System/Filesystems @@ -36,6 +31,12 @@ Patch1: %{name}-%{version}-desktop.patch Patch2: %{name}-%{version}-environ.patch Patch3: ntfs-config-1.0.1-pythonver.patch +BuildRequires: fdupes hal-devel intltool perl-XML-Parser python-gtk update-desktop-files +Requires: ntfs-3g +Requires: python-gtk +Requires: python-xml +Requires: /usr/bin/readlink +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires @@ -48,12 +49,7 @@ remount them with the read-only kernel driver when checkbox for selecting read-write support is unchecked. - - -Authors: --------- - Mertens Florent - +%lang_package %prep %setup -q %patch0 @@ -72,9 +68,15 @@ mkdir -p $RPM_BUILD_ROOT/%_datadir/pixmaps/drive-harddisk.png %suse_update_desktop_file -i %{name} System Settings Filesystem # Should change pt_PT -> pt, I guess: -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %fdupes $RPM_BUILD_ROOT +%if 0%{?suse_version} > 1130 + +%post +%desktop_database_post +%endif + %preun symlink_created_by_ntfs_config="%_sysconfdir/hal/fdi/policy/20-ntfs-config-write-policy.fdi" if [ -L "$symlink_created_by_ntfs_config" ]; then @@ -85,10 +87,16 @@ fi fi +%if 0%{?suse_version} > 1130 + +%postun +%desktop_database_postun +%endif + %clean rm -rf $RPM_BUILD_ROOT -%files -f %name.lang +%files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %doc %{_mandir}/man8/* @@ -101,4 +109,6 @@ %{py_sitedir}/NtfsConfig/* %exclude %_datadir/pixmaps/drive-harddisk.png +%files lang -f %name.lang + %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de