]> git.pld-linux.org Git - SPECS.git/blob - nao.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / nao.spec
1 #
2 # Conditional build:
3 %bcond_with     python          # python plugins (unknown requires)
4 %bcond_without  ssh             # sftp virtual file system
5 %bcond_without  ssl             # ftp over ssl support
6 #
7 Summary:        nao - powerful and flexible file manager
8 Summary(pl.UTF-8):      nao - potężny i elastyczny zarządca plików
9 Name:           nao
10 Version:        0.4.1
11 Release:        1
12 License:        GPL v2
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
30 Obsoletes:      openspace
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 nao is powerful, flexible, and utterly configurable file manager for
35 UNIX systems, written using the FOX toolkit. Main features of nao are:
36
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.
49
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:
54
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
59    akcji im przypisanej.
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
68    GNOME.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal} -I m4
78 %{__autoconf}
79 %{__automake}
80 %configure \
81         %{?with_ssh:--enable-sshvfs} \
82         %{?with_ssh:--enable-ssl} \
83         %{?with_python:--enable-python}
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %find_lang %{name}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
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}
103 %{_libdir}/%{name}
104 %{_datadir}/%{name}
105 %{_pixmapsdir}/%{name}.png
106 %{_desktopdir}/%{name}.desktop
This page took 0.480724 seconds and 3 git commands to generate.