]> git.pld-linux.org Git - packages/fedora-ds.git/blob - fedora-ds.spec
- BR and TODO BR
[packages/fedora-ds.git] / fedora-ds.spec
1 #
2 # http://directory.fedora.redhat.com/wiki/Building
3 #
4 Summary:        Fedora Directory Server
5 Summary(pl):    Fedora Directory Server - serwer us³ug katalogowych
6 Name:           fedora-ds
7 Version:        1.0.2
8 Release:        0.1
9 License:        GPL v2
10 Group:          Applications
11 Source0:        http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz
12 # Source0-md5:  d8bd5b68087229b4bb2e3867cb92ba85
13 Patch0:         %{name}-make.patch
14 Patch1:         %{name}-included.patch
15 Patch2:         http://directory.fedora.redhat.com/sources/ldapserver-gcc4.patch
16 URL:            http://directory.fedora.redhat.com/
17 BuildRequires:  apr-devel
18 BuildRequires:  db-devel >= 4.0
19 BuildRequires:  libtermcap-devel
20 BuildRequires:  libicu-devel
21 BuildRequires:  ncurses-devel
22 BuildRequires:  nspr-devel >= 4.4.1
23 BuildRequires:  rpmbuild(macros) >= 1.228
24 BuildRequires:  java-sun
25 #or BuildRequires:      ibm-java-sdk
26 #
27 #BuildRequires: Java/XML Components
28 # axis.jar, jaxrpc.jar, and saaj.jar - http://ws.apache.org/axis/index.html
29 # xercesImpl.jar and xml-apis.jar - http://xml.apache.org/xerces2-j/download.cgi
30 # activation.jar - http://java.sun.com/products/javabeans/glasgow/jaf.html
31 # axrpc-api.jar - http://java.sun.com/webservices/downloads/webservicespack.html
32 # crimson.jar - http://xml.apache.org/dist/crimson/
33 BuildRequires:  jakarta-ant >= 1.6.1
34 BuildRequires:  net-snmp-devel >= 5.2.1
35 BuildRequires:  krb5-devel
36 BuildRequires:  apache-devel
37 BuildRequires:  cyrus-sasl-devel
38 BuildRequires:  nss-devel-3.11-1
39 BuildRequires:  gdbm-devel >= 1.6
40 BuildRequires:  perl-Mozilla-LDAP
41 #BuildRequires: mozilla-components: DBM (v1.61), NSS (v3.93), SVRCORE (v4.0), LDAPSDK (v5.16), and PerLDAP (*)
42 Requires:       libicu >= 2.4
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 The Fedora Directory Server is a robust, scalable open-source server
47 designed to manage large directories of users and resources. It is
48 based on an open-systems server protocol called the Lightweight
49 Directory Access Protocol (LDAP). The Fedora Directory Server is a
50 world-class Directory Server implementation. Some of the more
51 interesting features that are included are:
52 - 4-Way Multi-Master Replication
53 - Scalability: thousands of operations per second, tens of thousands
54   of concurrent users, tens of millions of entries, hundreds of
55   gigabytes of data
56 - SSLv3, TLSv1, and SASL for secure authentication and transport
57 - Support for most LDAPv3 features, including many common controls and
58   extensions
59 - Schema update over LDAP
60 - Flexible in-tree Access Control Information (ACIs), updatable over
61   LDAP
62 - On-line configuration and management over LDAP
63 - Graphical console for all facets of user, group, and server
64   management
65
66 %description -l pl
67 Fedora Directory Server to potê¿ny, posiadaj±cy otwarte ¼ród³a,
68 skalowalny serwer zaprojektowany do zarz±dzania du¿ymi katalogami
69 u¿ytkowników i zasobów. Jest oparty na otwartym protokole serwerowym
70 LDAP (Lightweight Directory Access Protocol). Fedora Directory Server
71 to ¶wiatowej klasy implementacja serwera us³ug katalogowych. Bardziej
72 interesuj±ce cechy obejmuj±:
73 - 4-stronn± replikacjê multi-master
74 - skalowalno¶æ: tysi±ce operacji na sekund±, dziesi±tki tysiêcy
75   jednoczesnych u¿ytkowników, dziesi±tki milionów wpisów, setki
76   gigabajtów danych
77 - obs³ugê SSLv3, TLSv1 i SASL do bezpiecznego uwierzytelniania i
78   przesy³ania danych
79 - obs³ugê wiêkszo¶ci cech LDAPv3, w tym wielu popularnych opcji i
80   rozszerzeñ
81 - uaktualnianie schematu przez LDAP
82 - elastyczne informacje o prawach dostêpu w drzewie (ACI - Access
83   Control Information), uaktualniane przez LDAP
84 - konfiguracjê i zarz±dzanie w locie przez LDAP
85 - graficzn± konsolê dla wszystkich aspektów zarz±dzania u¿ytkownikami,
86   grupami i serwerem
87
88 %prep
89 %setup -q
90 %patch0 -p1
91 %patch1 -p1
92 %patch2 -p1
93
94
95 %build
96 #%%configure
97 %{__make} \
98         NSPR_INCDIR=/usr/include/nspr \
99         SECURITY_INCDIR=/usr/include/openssl \
100         DBM_INCLUDE=/usr/include \
101         LDAP_INCLUDE=/usr/include/nss \
102         SASL_INCLUDE=/usr/include/sasl \
103         SVRCORE_INCLUDE=/usr/include
104 #MFLAGS="-I/usr/include \
105 #       -I/usr/include/nspr     \
106 #       USE_ADMINSERVER=1       \
107 #       USE_CONSOLE=1   \
108 #       USE_DSMLGW=1    \
109 #       USE_ORGCHART=1  \
110 #       USE_DSGW=1      \
111 #       USE_JAVATOOLS=1 \
112 #       USE_SETUPUTIL=1 \
113 #       BUILD_RPM=1     \
114 #       DEBUG=full      \
115 #       NOJAVA=1        \
116 #"
117 #
118 #       BUILD_RPM=1 to make a RHEL/Fedora Core RPM package (default is a setuputil installable package).
119 #       DEBUG=full to build the debug version (default is optimized).
120 #       NOJAVA=1 to skip the Java code, including the console and DSML gateway.
121 #       USE_ADMINSERVER=1 - bundle the Admin Server (required to run Console/webapps)
122 #        USE_CONSOLE=1    - bundle the Administration Console (requires Java)
123 #        USE_DSMLGW=1     - build/bundle the DSMLv2 Gateway (requires Java)
124 #        USE_ORGCHART=1   - build/bundle the Org Chart webapp
125 #        USE_DSGW=1       - build/bundle the Phonebook/DS Gateway webapp
126 #        USE_JAVATOOLS=1  - build/bundle the Java command line tools
127 #        USE_SETUPUTIL=1  - build/bundle programs that use Setuputil
128 #
129
130 %install
131 rm -rf $RPM_BUILD_ROOT
132
133 %{__make} install \
134         DESTDIR=$RPM_BUILD_ROOT
135
136 %clean
137 rm -rf $RPM_BUILD_ROOT
138
139 %files
140 %defattr(644,root,root,755)
141 #%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
142 #%%dir %{_sysconfdir}
143 #%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
144 #%attr(755,root,root) %{_bindir}/*
145 #%{_datadir}/%{name}
146
147 #%attr(754,root,root) /etc/rc.d/init.d/%{name}
148 #%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
149
150 #%{_examplesdir}/%{name}-%{version}
This page took 0.079537 seconds and 3 git commands to generate.