]> git.pld-linux.org Git - packages/ntfs-config.git/blame - ntfs-config.spec
- added am.patch
[packages/ntfs-config.git] / ntfs-config.spec
CommitLineData
8e73217d
SS
1# TODO:
2# binaries names and dirs seems counterintuitive:
3# /usr/bin/ntfs-config requires root privilages
4# /usr/sbin/ntfs-config-root invokes ntfs-config via gksu/kdesu
5# /usr/bin/ntfs-config-root invokes ntfs-config via consolehelper
6#
d5f365f2 7Summary: A front-end to Enable/disable NTFS write support
31958dc0 8Summary(pl.UTF-8): Frontend do włączania/wyłączania obsługi zapisu na NTFS
d5f365f2 9Name: ntfs-config
9cfaed06 10Version: 1.0.1
8e73217d 11Release: 1.9
d5f365f2
JR
12License: GPL
13Group: Applications/System
9cfaed06
SS
14Source0: http://flomertens.free.fr/ntfs-config/download/source/%{name}-%{version}.tar.gz
15# Source0-md5: d491c8129aa9dad4de28b2b0b2b8f309
8e73217d 16Patch0: %{name}-am.patch
31958dc0
JB
17URL: http://flomertens.free.fr/ntfs-config/
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: desktop-file-utils
d5f365f2 21BuildRequires: gettext
d5f365f2
JR
22Buildrequires: hal-devel
23Buildrequires: libglade2-devel
31958dc0
JB
24BuildRequires: perl-XML-Parser
25BuildRequires: python-devel > 1:2.4
26BuildRequires: python-pygtk-devel > 2:2.6
991942bf 27BuildRequires: sed >= 4.0
d5f365f2 28Requires: ntfs-3g
8e73217d
SS
29Requires: usermode
30Suggests: e2fsprogs
75c281cf
SS
31Suggests: gnome-mount
32Suggests: hal
33Suggests: module-init-tools
34Suggests: mount
35Suggests: udev-core
d5f365f2
JR
36BuildArch: noarch
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40ntfs-config will allow you to enable/disable write support for
41external and/or internal device with only two click. This will
42configure your system to use the new ntfs-3g driver instead of the
43current read-only kernel one.
44
31958dc0
JB
45%description -l pl.UTF-8
46ntfs-config pozwala włączyć/wyłączyć obsługę zapisu dla zewnętrznego
47i/lub wewnętrznego urządzenia za pomocą tylko dwóch kliknięć.
48Konfiguruje to system do używania nowego sterownika ntfs-3g zamiast
49aktualnego z jądra obsługującego poprawnie tylko odczyt.
50
d5f365f2 51%prep
9cfaed06 52%setup -q
8e73217d 53%patch0 -p1
d5f365f2 54
991942bf
SS
55# there's newer pt.po
56rm -f po/pt_PT.po
57%{__sed} -i s/^pt_PT$// po/LINGUAS
58
d5f365f2 59%build
066bfc94 60%{__intltoolize}
d5f365f2
JR
61%{__aclocal}
62%{__autoconf}
63%{__automake}
31958dc0 64%configure \
c23cb552 65 --with-force-pam=yes \
31958dc0 66 PYTHON=%{_bindir}/python
d5f365f2
JR
67%{__make}
68
69%install
70rm -rf $RPM_BUILD_ROOT
d5f365f2
JR
71
72%{__make} install \
991942bf 73 pyexecdir=%{py_sitescriptdir} \
d5f365f2
JR
74 DESTDIR=$RPM_BUILD_ROOT \
75 INSTALL="install -p -Dm 644"
76
77desktop-file-install \
78 --vendor "" \
79 --dir $RPM_BUILD_ROOT/%{_desktopdir} \
80 --mode 0644 \
81 --remove-category=Application \
82 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
83
d5f365f2
JR
84%find_lang %{name}
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files -f %{name}.lang
90%defattr(644,root,root,755)
91%doc AUTHORS ChangeLog README TODO
92%config(noreplace) /etc/pam.d/%{name}-root
93%config(noreplace) /etc/security/console.apps/%{name}-root
94%attr(755,root,root) %{_bindir}/%{name}
8e73217d 95%attr(755,root,root) %{_bindir}/%{name}-root
d5f365f2
JR
96%attr(755,root,root) %{_sbindir}/%{name}-root
97%{_datadir}/%{name}
98%{_desktopdir}/%{name}.desktop
991942bf 99%{py_sitescriptdir}/NtfsConfig
066bfc94
SS
100%{_mandir}/man8/ntfs-config-root.8*
101%{_mandir}/man8/ntfs-config.8*
This page took 0.059642 seconds and 4 git commands to generate.