]> git.pld-linux.org Git - packages/ntfs-config.git/blob - ntfs-config.spec
7c0ca038bf00163a983880f971908d8302411785
[packages/ntfs-config.git] / ntfs-config.spec
1 Summary:        A front-end to Enable/disable NTFS write support
2 Summary(pl.UTF-8):      Frontend do włączania/wyłączania obsługi zapisu na NTFS
3 Name:           ntfs-config
4 Version:        1.0.1
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://flomertens.free.fr/ntfs-config/download/source/%{name}-%{version}.tar.gz
9 # Source0-md5:  d491c8129aa9dad4de28b2b0b2b8f309
10 URL:            http://flomertens.free.fr/ntfs-config/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  desktop-file-utils
14 BuildRequires:  gettext
15 Buildrequires:  hal-devel
16 Buildrequires:  libglade2-devel
17 BuildRequires:  perl-XML-Parser
18 BuildRequires:  python-devel > 1:2.4
19 BuildRequires:  python-pygtk-devel > 2:2.6
20 Requires:       ntfs-3g
21 #Requires:      usermode
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 ntfs-config will allow you to enable/disable write support for
27 external and/or internal device with only two click. This will
28 configure your system to use the new ntfs-3g driver instead of the
29 current read-only kernel one.
30
31 %description -l pl.UTF-8
32 ntfs-config pozwala włączyć/wyłączyć obsługę zapisu dla zewnętrznego
33 i/lub wewnętrznego urządzenia za pomocą tylko dwóch kliknięć.
34 Konfiguruje to system do używania nowego sterownika ntfs-3g zamiast
35 aktualnego z jądra obsługującego poprawnie tylko odczyt.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure \
45         PYTHON=%{_bindir}/python
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/{pam.d,security/console.apps}}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         INSTALL="install -p -Dm 644"
55
56 desktop-file-install                                    \
57         --vendor ""                                     \
58         --dir $RPM_BUILD_ROOT/%{_desktopdir}            \
59         --mode 0644                                     \
60         --remove-category=Application                   \
61         $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
62
63 install data/pam/ntfs-config.pam $RPM_BUILD_ROOT/etc/pam.d/%{name}-root
64 install data/pam/ntfs-config.consolhelper $RPM_BUILD_ROOT/etc/security/console.apps/%{name}-root
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README TODO
74 %config(noreplace) /etc/pam.d/%{name}-root
75 %config(noreplace) /etc/security/console.apps/%{name}-root
76 %attr(755,root,root) %{_bindir}/%{name}
77 %attr(755,root,root) %{_sbindir}/%{name}-root
78 %{_datadir}/%{name}
79 %{_desktopdir}/%{name}.desktop
80 %{py_sitedir}/NtfsConfig
This page took 0.080452 seconds and 2 git commands to generate.