]>
Commit | Line | Data |
---|---|---|
9069d9bb | 1 | Summary: A free multi-platform LDAP client |
3ab90fa7 | 2 | Summary(pl.UTF-8): Wolny wieloplatformowy klient LDAP |
9069d9bb | 3 | Name: LDAPExplorerTool |
4 | Version: 0.6 | |
c0965841 | 5 | Release: 2.1 |
9069d9bb | 6 | License: BSD |
7 | Group: Networking/Utilities | |
9069d9bb | 8 | Source0: http://dl.sourceforge.net/ldaptool/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 7c0fe6244887b8797f69d1e396b6a7b4 | |
10 | Patch0: %{name}-xrc.patch | |
c0965841 | 11 | Patch1: %{name}-wx.patch |
fae9a1c8 | 12 | URL: http://ldaptool.sourceforge.net/ |
e159728e | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
15 | BuildRequires: gettext-devel | |
f3ee6e67 | 16 | BuildRequires: gtk+-devel >= 1.2.7 |
b5fb8056 | 17 | BuildRequires: libtool |
e159728e | 18 | BuildRequires: openldap-devel |
c0965841 | 19 | BuildRequires: wxGTK2-devel >= 2.6.0 |
9069d9bb | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | LDAP Explorer Tool is a free LDAP client, that enables the user to | |
24 | manage LDAP directories. With this tool you can view, edit or delete | |
25 | any entry of the LDAP server. You can also manage the schema, export | |
26 | and import entries using the LDIF format. LDAP Explorer aims to run on | |
27 | mutliple platforms like Windows, Linux, Solaris, Mac OS X... | |
28 | ||
0c1764fe JR |
29 | %description -l pl.UTF-8 |
30 | LDAP Explorer Tool jest wolnodostępnym klientem LDAP umożliwiającym | |
31 | użytkownikowi zarządzanie katalogami LDAP. Przy użyciu tego narzędzia | |
32 | można przeglądać, modyfikować i usuwać dowolne wpisy serwera LDAP. | |
33 | Można też zarządzać schematami, eksportować i importować wpisy | |
34 | korzystając z formatu LDIF. LDAP Explorer może działać na takich | |
f3ee6e67 | 35 | platformach jak Windows, Linux, Solaris, Mac OS X... |
e159728e | 36 | |
9069d9bb | 37 | %prep |
38 | %setup -q | |
39 | %patch0 -p0 | |
c0965841 | 40 | %patch1 -p1 |
9069d9bb | 41 | |
42 | %build | |
43 | %{__gettextize} | |
44 | %{__libtoolize} | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
c0965841 | 48 | CPPFLAGS="$(/usr/bin/wx-gtk2-ansi-config --cppflags)"; export CPPFLAGS |
9069d9bb | 49 | %configure \ |
c0965841 | 50 | --with-wx-config=/usr/bin/wx-gtk2-ansi-config |
9069d9bb | 51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
6b33ee5b | 58 | mv $RPM_BUILD_ROOT%{_docdir}/%{name} . |
59 | ||
60 | %find_lang %{name} | |
9069d9bb | 61 | |
62 | %clean | |
63 | rm -r $RPM_BUILD_ROOT | |
64 | ||
6b33ee5b | 65 | %files -f %{name}.lang |
9069d9bb | 66 | %defattr(644,root,root,755) |
f3ee6e67 | 67 | %doc %{name}/* |
9069d9bb | 68 | %attr(755,root,root) %{_bindir}/* |
69 | %{_datadir}/%{name} |