]> git.pld-linux.org Git - packages/emelfm2.git/blob - emelfm2.spec
- updated gettext BR
[packages/emelfm2.git] / emelfm2.spec
1 Summary:        File manager using the two-pane design and Gtk+
2 Summary(pl.UTF-8):      Zarządca plików oparty na bibliotece GTK+
3 Name:           emelfm2
4 Version:        0.8.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://emelfm2.net/rel/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8490d501e19009860f53ac6a98db74c1
10 URL:            http://emelfm2.net/
11 BuildRequires:  gettext-tools
12 BuildRequires:  gcc >= 5:3.2
13 BuildRequires:  gtk+2-devel >= 2:2.6.0
14 BuildRequires:  pkgconfig
15 Requires:       file >= 4
16 Requires:       findutils >= 4.2
17 Requires:       grep
18 Requires:       sed
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
27 %description -l pl.UTF-8
28 emelFM2 jest klasycznym, dwupanelowym zarządcą plików. Ma prosty
29 interfejs graficzny oparty o bibliotekę GTK+.
30
31 %prep
32 %setup -q
33 sed -i "s@GTK3=.*@GTK3=0@ ; s@GLIB3=.*@GLIB3=0@" Makefile
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="%{rpmcflags}" \
39         LDFLAGS="-ldl %{rpmldflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}}
44
45 install emelfm2 $RPM_BUILD_ROOT%{_bindir}
46 install objs/plugins/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
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}
54 %dir %{_libdir}/%{name}
55 %attr(755,root,root) %{_libdir}/%{name}/*.so
This page took 0.072106 seconds and 4 git commands to generate.