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