3 %bcond_with python # python plugins (unknown requires)
4 %bcond_without ssh # sftp virtual file system
5 %bcond_without ssl # ftp over ssl support
7 Summary: nao - powerful and flexible file manager
8 Summary(pl.UTF-8): nao - potężny i elastyczny zarządca plików
13 Group: X11/Applications
14 Source0: http://nao.linux.pl/data/%{name}-%{version}.tar.bz2
15 # Source0-md5: b113c79af37fae2f6a7b12496900952e
16 Patch0: %{name}-desktop.patch
17 Patch1: %{name}-as-needed.patch
18 URL: http://nao.linux.pl/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: boost-devel >= 1.35.0
22 %{?with_python:BuildRequires: boost-python-devel}
23 BuildRequires: fox-devel >= 1.4.0
24 BuildRequires: libpng-devel
25 %{?with_ssh:BuildRequires: libssh-devel}
26 BuildRequires: libtool
27 BuildRequires: libxml2-devel
28 %{?with_ssl:BuildRequires: openssl-devel}
29 Requires: fox >= 1.4.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 nao is powerful, flexible, and utterly configurable file manager for
35 UNIX systems, written using the FOX toolkit. Main features of nao are:
37 - Support for two panel view and single panel view.
38 - Graphically configurable.
39 - Powerful file recognition system allows you to configure how files
40 of different types are shown (with colors and icons), and what happens
41 when you doubleclick them.
42 - Long operations are run in separated thread like for example
43 copying/moving - you can use program during this process.
44 - Extensibility - two types of plugins - you can download and install
45 them easily from configuration menu in program.
46 - Virtual File System plugins adds supports for file systems like ftp,
47 compressed files (tar.bz2,tar.gz) - you can use them like local files.
48 - Drag and Drop support compatible with KDE and GNOME applications.
50 %description -l pl.UTF-8
51 nao jest potężnym, elastycznym oraz całkowicie konfigurowalnym
52 zarządcą plików dla systemów uniksowych, napisanym przy użyciu
53 biblioteki FOX. Główne jego cechy to:
55 - Obsługa zarówno dwupanelowego jak i jednopanelowego trybu pracy.
56 - Graficzna konfiguracja.
57 - Potężny system rozpoznawania plików pozwala na konfigurację
58 sposobu przedstawiania różnych typów plików (kolory, ikony), oraz
60 - Czasochłonne operacje, takie jak przenoszenie czy kopiowanie, są
61 uruchamiane w oddzielnym wątku, co pozwala na korzystanie z zarządcy
62 podczas tych czynności.
63 - Rozszerzalność - dwa typy wtyczek - można je łatwo instalować
64 korzystając z menu konfiguracyjnego.
65 - Wtyczka dla wirtualnego systemu plików. Można używać FTP oraz
66 archiwów jak lokalnych plików.
67 - Obsługa "przeciągnij i upuść" kompatybilna z aplikacjami KDE i
81 %{?with_ssh:--enable-sshvfs} \
82 %{?with_ssh:--enable-ssl} \
83 %{?with_python:--enable-python}
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
95 rm -rf $RPM_BUILD_ROOT
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS README
100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nao.conf
101 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime2program.conf
102 %attr(755,root,root) %{_bindir}/%{name}
105 %{_pixmapsdir}/%{name}.png
106 %{_desktopdir}/%{name}.desktop