]>
Commit | Line | Data |
---|---|---|
14416e9f | 1 | Summary: File manager using the two-pane design and Gtk+ |
6aaf75e9 | 2 | Summary(pl.UTF-8): Zarządca plików oparty na bibliotece GTK+ |
14416e9f | 3 | Name: emelfm2 |
78261c70 | 4 | Version: 0.8.0 |
14416e9f JB |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: X11/Applications | |
739b793e | 8 | Source0: http://emelfm2.net/rel/%{name}-%{version}.tar.bz2 |
78261c70 | 9 | # Source0-md5: 8490d501e19009860f53ac6a98db74c1 |
390da67a | 10 | URL: http://emelfm2.net/ |
206a0e6a | 11 | BuildRequires: gettext-tools |
f509326b JB |
12 | BuildRequires: gcc >= 5:3.2 |
13 | BuildRequires: gtk+2-devel >= 2:2.6.0 | |
6aaf75e9 | 14 | BuildRequires: pkgconfig |
f509326b JB |
15 | Requires: file >= 4 |
16 | Requires: findutils >= 4.2 | |
17 | Requires: grep | |
18 | Requires: sed | |
14416e9f JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | emelFM is a file manager that implements the popular two-pane design. | |
23 | It features a simple GTK+ interface, a flexible filetyping scheme, and | |
24 | a built-in command line for executing commands without opening an | |
25 | xterm. | |
26 | ||
6aaf75e9 JB |
27 | %description -l pl.UTF-8 |
28 | emelFM2 jest klasycznym, dwupanelowym zarządcą plików. Ma prosty | |
29 | interfejs graficzny oparty o bibliotekę GTK+. | |
14416e9f JB |
30 | |
31 | %prep | |
6aaf75e9 | 32 | %setup -q |
739b793e | 33 | sed -i "s@GTK3=.*@GTK3=0@ ; s@GLIB3=.*@GLIB3=0@" Makefile |
14416e9f JB |
34 | |
35 | %build | |
f509326b JB |
36 | %{__make} \ |
37 | CC="%{__cc}" \ | |
38 | CFLAGS="%{rpmcflags}" \ | |
739b793e | 39 | LDFLAGS="-ldl %{rpmldflags}" |
14416e9f JB |
40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
6aaf75e9 | 43 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}} |
14416e9f | 44 | |
14416e9f | 45 | install emelfm2 $RPM_BUILD_ROOT%{_bindir} |
f509326b | 46 | install objs/plugins/*.so $RPM_BUILD_ROOT%{_libdir}/%{name} |
14416e9f JB |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %attr(755,root,root) %{_bindir}/%{name} | |
6aaf75e9 | 54 | %dir %{_libdir}/%{name} |
f509326b | 55 | %attr(755,root,root) %{_libdir}/%{name}/*.so |