]>
Commit | Line | Data |
---|---|---|
89b58db6 | 1 | %define reldate 20100330 |
9f3a9727 | 2 | %define rel 2 |
74583792 JB |
3 | Summary: Apache Directory Studio - LDAP tooling platform |
4 | Summary(pl.UTF-8): Apache Directory Studio - platforma narzędzi LDAP | |
8b303099 | 5 | Name: ApacheDirectoryStudio |
89b58db6 | 6 | Version: 1.5.3 |
d091bd5a | 7 | Release: 0.%{reldate}.%{rel} |
8b303099 MWP |
8 | License: Apache |
9 | Group: Applications | |
9c0ea478 | 10 | Source0: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{reldate}/%{name}-linux-x86-%{version}.v%{reldate}.tar.gz |
89b58db6 | 11 | # Source0-md5: 315e4726121aa84c93e92f5f0db2884c |
9c0ea478 | 12 | Source1: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{reldate}/%{name}-linux-x86_64-%{version}.v%{reldate}.tar.gz |
89b58db6 | 13 | # Source1-md5: 613d07f7befbb8cc44c462a6ec262719 |
5c18d0fe SP |
14 | Source2: apachedirectorystudio.desktop |
15 | URL: http://directory.apache.org/studio/ | |
8b303099 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
07f5a7d8 | 17 | Requires: jre-X11 |
5c18d0fe | 18 | ExclusiveArch: %{ix86} %{x8664} |
8b303099 MWP |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
8b303099 MWP |
21 | %description |
22 | Apache Directory Studio (formerly known as LDAP Studio) is a complete | |
23 | LDAP tooling platform intended to be used with any LDAP server however | |
24 | it is particularly designed for use with the Apache Directory Server. | |
25 | ||
74583792 JB |
26 | %description -l pl.UTF-8 |
27 | Apache Directory Studio (wcześniej znane jako LDAP Studio) to | |
28 | kompletna platforma narzędzi LDAP przeznaczona do użytku z dowolnym | |
29 | serwerem LDAP, jednak jest najlepiej dopasowana do Apache Directory | |
30 | Servera. | |
31 | ||
8b303099 | 32 | %prep |
a94d1946 | 33 | %ifarch %{ix86} |
9c0ea478 | 34 | %setup -q -b1 -n %{name}-linux-x86-%{version}.v%{reldate} |
50a8f243 SP |
35 | %endif |
36 | %ifarch %{x8664} | |
9c0ea478 | 37 | %setup -q -b1 -n %{name}-linux-x86_64-%{version}.v%{reldate} |
a94d1946 | 38 | %endif |
8b303099 MWP |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
50a8f243 | 42 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir},%{_bindir}} |
d091bd5a ER |
43 | cp -a configuration features plugins $RPM_BUILD_ROOT%{_datadir}/%{name} |
44 | cp -a ApacheDirectoryStudio.xpm $RPM_BUILD_ROOT%{_pixmapsdir} | |
45 | install -p ApacheDirectoryStudio $RPM_BUILD_ROOT%{_datadir}/%{name} | |
46 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} | |
8b303099 MWP |
47 | ln -s %{_datadir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/apachedirectorystudio |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
a94d1946 | 54 | %doc NOTICE.txt Release\ Notes.txt |
8b303099 MWP |
55 | %attr(755,root,root) %{_bindir}/* |
56 | %dir %{_datadir}/%{name} | |
57 | %attr(755,root,root) %{_datadir}/%{name}/ApacheDirectoryStudio | |
58 | %{_datadir}/%{name}/configuration | |
59 | %{_datadir}/%{name}/features | |
60 | %{_datadir}/%{name}/plugins | |
61 | %{_pixmapsdir}/ApacheDirectoryStudio.xpm | |
50a8f243 | 62 | %{_desktopdir}/apachedirectorystudio.desktop |