]> git.pld-linux.org Git - packages/ntfs-config.git/blame - ntfs-config.spec
- lots of Suggests
[packages/ntfs-config.git] / ntfs-config.spec
CommitLineData
d5f365f2 1Summary: A front-end to Enable/disable NTFS write support
31958dc0 2Summary(pl.UTF-8): Frontend do włączania/wyłączania obsługi zapisu na NTFS
d5f365f2 3Name: ntfs-config
9cfaed06 4Version: 1.0.1
066bfc94 5Release: 1
d5f365f2
JR
6License: GPL
7Group: Applications/System
9cfaed06
SS
8Source0: http://flomertens.free.fr/ntfs-config/download/source/%{name}-%{version}.tar.gz
9# Source0-md5: d491c8129aa9dad4de28b2b0b2b8f309
31958dc0
JB
10URL: http://flomertens.free.fr/ntfs-config/
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: desktop-file-utils
d5f365f2 14BuildRequires: gettext
d5f365f2
JR
15Buildrequires: hal-devel
16Buildrequires: libglade2-devel
31958dc0
JB
17BuildRequires: perl-XML-Parser
18BuildRequires: python-devel > 1:2.4
19BuildRequires: python-pygtk-devel > 2:2.6
991942bf 20BuildRequires: sed >= 4.0
d5f365f2 21Requires: ntfs-3g
75c281cf
SS
22Suggests: blkid
23Suggests: gnome-mount
24Suggests: hal
25Suggests: module-init-tools
26Suggests: mount
27Suggests: udev-core
d5f365f2
JR
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32ntfs-config will allow you to enable/disable write support for
33external and/or internal device with only two click. This will
34configure your system to use the new ntfs-3g driver instead of the
35current read-only kernel one.
36
31958dc0
JB
37%description -l pl.UTF-8
38ntfs-config pozwala włączyć/wyłączyć obsługę zapisu dla zewnętrznego
39i/lub wewnętrznego urządzenia za pomocą tylko dwóch kliknięć.
40Konfiguruje to system do używania nowego sterownika ntfs-3g zamiast
41aktualnego 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
47rm -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
61rm -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
68desktop-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
78rm -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*
This page took 0.549998 seconds and 4 git commands to generate.