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