]> git.pld-linux.org Git - packages/ApacheDirectoryStudio.git/blame - ApacheDirectoryStudio.spec
- added .desktop file
[packages/ApacheDirectoryStudio.git] / ApacheDirectoryStudio.spec
CommitLineData
bc32964e 1#
a94d1946 2%define _reldate 20090407
74583792
JB
3Summary: Apache Directory Studio - LDAP tooling platform
4Summary(pl.UTF-8): Apache Directory Studio - platforma narzędzi LDAP
8b303099 5Name: ApacheDirectoryStudio
bc32964e 6Version: 1.4.0
a94d1946 7Release: 0.%{_reldate}.1
8b303099
MWP
8License: Apache
9Group: Applications
50a8f243 10Source0: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{_reldate}/%{name}-linux-x86-%{version}.v%{_reldate}.tar.gz
a94d1946 11# Source0-md5: 3bc4b96993eab40f8429893087f0430e
50a8f243 12Source1: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{_reldate}/%{name}-linux-x86_64-%{version}.v%{_reldate}.tar.gz
a94d1946 13# Source1-md5: 38c037ebaa0999efe1e3fcce61e3ed50
50a8f243
SP
14Source2: http://www.apache.org/dist/directory/studio/stable/%{version}.v%{_reldate}/%{name}-linux-ppc-%{version}.v%{_reldate}.tar.gz
15# Source2-md5: c16a9f50e270c3fd053336eb72c6f4b8
16Source3: apachedirectorystudio.desktop
8b303099 17URL: http://directory.apache.org/
8b303099 18BuildRequires: rpmbuild(macros) >= 1.300
50a8f243 19ExclusiveArch: %{ix86} %{x8664} ppc
8b303099
MWP
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
8b303099
MWP
22%description
23Apache Directory Studio (formerly known as LDAP Studio) is a complete
24LDAP tooling platform intended to be used with any LDAP server however
25it is particularly designed for use with the Apache Directory Server.
26
74583792
JB
27%description -l pl.UTF-8
28Apache Directory Studio (wcześniej znane jako LDAP Studio) to
29kompletna platforma narzędzi LDAP przeznaczona do użytku z dowolnym
30serwerem LDAP, jednak jest najlepiej dopasowana do Apache Directory
31Servera.
32
8b303099 33%prep
a94d1946 34%ifarch %{ix86}
50a8f243
SP
35%setup -q -b1 -b2 -n %{name}-linux-x86-%{version}.v%{_reldate}
36%endif
37%ifarch %{x8664}
38%setup -q -b1 -b2 -n %{name}-linux-x86_64-%{version}.v%{_reldate}
39%endif
40%ifarch ppc
41%setup -q -b1 -b2 -n %{name}-linux-ppc-%{version}.v%{_reldate}
a94d1946 42%endif
8b303099
MWP
43
44%install
45rm -rf $RPM_BUILD_ROOT
50a8f243 46install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir},%{_bindir}}
a94d1946 47cp -a {configuration,features,plugins} $RPM_BUILD_ROOT%{_datadir}/%{name}
8b303099 48install ApacheDirectoryStudio.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
a94d1946 49install ApacheDirectoryStudio $RPM_BUILD_ROOT%{_datadir}/%{name}
50a8f243 50install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/
8b303099
MWP
51ln -s %{_datadir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/apachedirectorystudio
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
a94d1946 58%doc NOTICE.txt Release\ Notes.txt
8b303099
MWP
59%attr(755,root,root) %{_bindir}/*
60%dir %{_datadir}/%{name}
61%attr(755,root,root) %{_datadir}/%{name}/ApacheDirectoryStudio
62%{_datadir}/%{name}/configuration
63%{_datadir}/%{name}/features
64%{_datadir}/%{name}/plugins
65%{_pixmapsdir}/ApacheDirectoryStudio.xpm
50a8f243 66%{_desktopdir}/apachedirectorystudio.desktop
This page took 0.123473 seconds and 4 git commands to generate.