Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
ntfs-config
ntfs-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntfs-config.spec of Package ntfs-config
# # spec file for package ntfs-config (Version 1.0.1) # # Copyright (c) 2008 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ntfs-config BuildRequires: hal-devel intltool perl-XML-Parser python-gtk update-desktop-files %if %suse_version > 1020 BuildRequires: fdupes %endif Source: ntfs-config-1.0.1.tar.bz2 Requires: ntfs-3g Requires: python-gtk Requires: python-xml Requires: /usr/bin/readlink Version: 1.0.1 Release: 143 Url: http://flomertens.free.fr/ntfs-config/ License: GPL v2 or later Group: System/Filesystems Summary: Enable and disable write support for NTFS partitions Source: %{name}-%{version}.tar.bz2 Source1: ntfs-config-rpmlintrc Patch0: %{name}-%{version}-destdir.patch Patch1: %{name}-%{version}-desktop.patch Patch2: %{name}-%{version}-environ.patch Patch3: ntfs-config-1.0.1-pythonver.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description Add write support for all your NTFS partitions and external USB and Firewire drives which have NTFS partitions with this tool. It will configure them to use the open source driver ntfs-3g that allow full read/write capability, but it can also unmount them again and remount them with the read-only kernel driver when checkbox for selecting read-write support is unchecked. Authors: -------- Mertens Florent %prep %setup -q %patch0 %patch1 %patch2 %patch3 %build autoreconf -fiv %configure make pyexecdir=%{py_sitedir} %install make DESTDIR=$RPM_BUILD_ROOT pyexecdir=%{py_sitedir} install # make the icon-checker happy, this one is a standard icon, no need to include it: 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} %if %suse_version > 1020 %fdupes $RPM_BUILD_ROOT %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 ntfs_3g_fdi=$(readlink "$symlink_created_by_ntfs_config") # If it point to our ntfs-config write-policy.fdi, clean it up: if [ "$ntfs_3g_fdi" = "%_datadir/ntfs-config/write-policy.fdi" ]; then rm "$symlink_created_by_ntfs_config" fi fi %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %doc %{_mandir}/man8/* %{_bindir}/ntfs-config %{_sbindir}/ntfs-config-root %{_datadir}/applications/ntfs-config.desktop %dir %{_datadir}/ntfs-config %{_datadir}/ntfs-config/* %dir %{py_sitedir}/NtfsConfig %{py_sitedir}/NtfsConfig/* %exclude %_datadir/pixmaps/drive-harddisk.png %changelog * Sat Nov 01 2008 vuntz@novell.com - Add requires on python-xml. Fix bnc#397577. - Add %%py_requires. * Fri Sep 12 2008 crrodriguez@suse.de - fix build * Tue Sep 18 2007 bk@suse.de - don't bail out in ntfs-config-root when XAUTHORITY is not set * Fri Aug 24 2007 bk@suse.de - based on initial openSUSE Buildservice package from Pavol Rusnak
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor