]>
Commit | Line | Data |
---|---|---|
bc32964e | 1 | # |
5c18d0fe | 2 | %define _reldate 20091130 |
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 |
5c18d0fe | 6 | Version: 1.5.1 |
a94d1946 | 7 | Release: 0.%{_reldate}.1 |
8b303099 MWP |
8 | License: Apache |
9 | Group: Applications | |
5c18d0fe SP |
10 | Source0: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{_reldate}/%{name}-linux-x86-%{version}.V%{_reldate}.tar.gz |
11 | # Source0-md5: d3ffa80932d2eaa194b04dfda34c98aa | |
12 | Source1: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{_reldate}/%{name}-linux-x86_64-%{version}.V%{_reldate}.tar.gz | |
13 | # Source1-md5: 48f91cb44e357c425ee0312787f9ab6d | |
14 | Source2: apachedirectorystudio.desktop | |
15 | URL: http://directory.apache.org/studio/ | |
8b303099 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
839a7379 | 17 | Requires: java-sun-jre |
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} |
5c18d0fe | 34 | %setup -q -b1 -n %{name}-linux-x86-%{version}.V%{_reldate} |
50a8f243 SP |
35 | %endif |
36 | %ifarch %{x8664} | |
5c18d0fe | 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}} |
a94d1946 | 43 | cp -a {configuration,features,plugins} $RPM_BUILD_ROOT%{_datadir}/%{name} |
8b303099 | 44 | install ApacheDirectoryStudio.xpm $RPM_BUILD_ROOT%{_pixmapsdir} |
a94d1946 | 45 | install ApacheDirectoryStudio $RPM_BUILD_ROOT%{_datadir}/%{name} |
5c18d0fe | 46 | install %{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 |