]> git.pld-linux.org Git - packages/ntfs-config.git/blame - ntfs-config.spec
- BR: intltool
[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 22Buildrequires: hal-devel
561f8f13 23BuildRequires: intltool
d5f365f2 24Buildrequires: libglade2-devel
31958dc0
JB
25BuildRequires: perl-XML-Parser
26BuildRequires: python-devel > 1:2.4
27BuildRequires: python-pygtk-devel > 2:2.6
991942bf 28BuildRequires: sed >= 4.0
d5f365f2 29Requires: ntfs-3g
8e73217d
SS
30Requires: usermode
31Suggests: e2fsprogs
75c281cf
SS
32Suggests: gnome-mount
33Suggests: hal
34Suggests: module-init-tools
35Suggests: mount
36Suggests: udev-core
d5f365f2
JR
37BuildArch: noarch
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41ntfs-config will allow you to enable/disable write support for
42external and/or internal device with only two click. This will
43configure your system to use the new ntfs-3g driver instead of the
44current read-only kernel one.
45
31958dc0
JB
46%description -l pl.UTF-8
47ntfs-config pozwala włączyć/wyłączyć obsługę zapisu dla zewnętrznego
48i/lub wewnętrznego urządzenia za pomocą tylko dwóch kliknięć.
49Konfiguruje to system do używania nowego sterownika ntfs-3g zamiast
50aktualnego z jądra obsługującego poprawnie tylko odczyt.
51
d5f365f2 52%prep
9cfaed06 53%setup -q
8e73217d 54%patch0 -p1
d5f365f2 55
991942bf
SS
56# there's newer pt.po
57rm -f po/pt_PT.po
58%{__sed} -i s/^pt_PT$// po/LINGUAS
59
d5f365f2 60%build
066bfc94 61%{__intltoolize}
d5f365f2
JR
62%{__aclocal}
63%{__autoconf}
64%{__automake}
31958dc0 65%configure \
c23cb552 66 --with-force-pam=yes \
31958dc0 67 PYTHON=%{_bindir}/python
d5f365f2
JR
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
d5f365f2
JR
72
73%{__make} install \
991942bf 74 pyexecdir=%{py_sitescriptdir} \
d5f365f2
JR
75 DESTDIR=$RPM_BUILD_ROOT \
76 INSTALL="install -p -Dm 644"
77
78desktop-file-install \
79 --vendor "" \
80 --dir $RPM_BUILD_ROOT/%{_desktopdir} \
81 --mode 0644 \
82 --remove-category=Application \
83 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
84
d5f365f2
JR
85%find_lang %{name}
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%files -f %{name}.lang
91%defattr(644,root,root,755)
92%doc AUTHORS ChangeLog README TODO
93%config(noreplace) /etc/pam.d/%{name}-root
94%config(noreplace) /etc/security/console.apps/%{name}-root
95%attr(755,root,root) %{_bindir}/%{name}
8e73217d 96%attr(755,root,root) %{_bindir}/%{name}-root
d5f365f2
JR
97%attr(755,root,root) %{_sbindir}/%{name}-root
98%{_datadir}/%{name}
99%{_desktopdir}/%{name}.desktop
991942bf 100%{py_sitescriptdir}/NtfsConfig
066bfc94
SS
101%{_mandir}/man8/ntfs-config-root.8*
102%{_mandir}/man8/ntfs-config.8*
This page took 0.092014 seconds and 4 git commands to generate.