]>
Commit | Line | Data |
---|---|---|
426aafc5 AG |
1 | Summary: Graphical access control list (ACL) editor |
2 | Summary(pl.UTF-8): Graficzny edytor list kontroli dostępu (ACL) | |
3 | Name: eiciel | |
e20d4bc5 | 4 | Version: 0.9.8.1 |
426aafc5 AG |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Applications/System | |
e20d4bc5 ER |
8 | Source0: http://rofi.roger-ferrer.org/eiciel/download/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 2c9c459f0604ce03ec49bb425cc42681 | |
426aafc5 AG |
10 | Source1: %{name}-pl.po |
11 | Patch0: %{name}-pl.po.patch | |
e20d4bc5 | 12 | URL: http://rofi.roger-ferrer.org/eiciel/ |
426aafc5 AG |
13 | BuildRequires: acl-devel |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: desktop-file-utils | |
e0d5e47e | 17 | BuildRequires: gettext-tools |
426aafc5 | 18 | BuildRequires: glitz-devel |
e20d4bc5 | 19 | BuildRequires: gtkmm3-devel |
426aafc5 | 20 | BuildRequires: libtool |
e20d4bc5 | 21 | BuildRequires: nautilus-devel >= 3.0 |
426aafc5 AG |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
e20d4bc5 | 24 | %define ext_dir %(pkg-config --variable=extensiondir libnautilus-extension) |
426aafc5 AG |
25 | |
26 | %description | |
27 | Graphical editor for access control lists (ACL) and extended | |
28 | attributes (XATTR), either as an extension within Nautilus, or as a | |
29 | standalone utility. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | eiciel to graficzny edytor list kontroli dostępu (ACL) i rozszerzonych | |
33 | atrybutów (XATTR), działający jako rozszerzenie Nautilus lub | |
34 | samodzielne narzędzie. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
e20d4bc5 | 39 | cp -p %{SOURCE1} po/pl.po |
426aafc5 AG |
40 | |
41 | %build | |
42 | %{__gettextize} | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure \ | |
e20d4bc5 | 49 | --disable-static |
426aafc5 AG |
50 | |
51 | %{__make} | |
52 | rm po/*.gmo | |
e20d4bc5 | 53 | %{__make} -C po update-gmo |
426aafc5 AG |
54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
426aafc5 AG |
57 | %{__make} install \ |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
e20d4bc5 ER |
60 | %{__rm} $RPM_BUILD_ROOT%{ext_dir}/*.la |
61 | ||
426aafc5 AG |
62 | %find_lang %{name} |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files -f %{name}.lang | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog README | |
70 | %attr(755,root,root) %{_bindir}/%{name} | |
71 | %{_datadir}/%{name}/ | |
72 | %{_datadir}/gnome/help/%{name} | |
73 | %{_desktopdir}/*%{name}* | |
74 | %{_mandir}/man1/%{name}* | |
75 | %{ext_dir}/lib%{name}* |