]>
Commit | Line | Data |
---|---|---|
faa95af0 MWP |
1 | # |
2 | # http://directory.fedora.redhat.com/wiki/Building | |
faa95af0 MWP |
3 | # |
4 | Summary: Fedora Directory Server | |
5b4705d8 | 5 | Summary(pl.UTF-8): Fedora Directory Server - serwer usług katalogowych |
faa95af0 | 6 | Name: fedora-ds |
26de442e | 7 | Version: 1.0.4 |
faa95af0 MWP |
8 | Release: 0.1 |
9 | License: GPL v2 | |
10 | Group: Applications | |
11 | Source0: http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz | |
26de442e | 12 | # Source0-md5: fca8c94d2bfdc3a762c0e8b09ab04b09 |
faa95af0 | 13 | URL: http://directory.fedora.redhat.com/ |
26de442e | 14 | BuildRequires: cyrus-sasl-devel >= 2.0 |
faa95af0 | 15 | BuildRequires: db-devel >= 4.0 |
ba53332f | 16 | # fake, but required now |
26de442e JB |
17 | #BuildRequires: db-utils |
18 | BuildRequires: fedora-adminutil >= 1.0 | |
19 | BuildRequires: fedora-setuputil >= 1.0 | |
1af8cdd9 | 20 | BuildRequires: gdbm-devel >= 1.6 |
b2761561 | 21 | #BuildRequires: java-sun |
c8690ef4 | 22 | #BuildRequires: libgssglue-devel |
26de442e | 23 | BuildRequires: libicu-devel >= 2.4 |
ba53332f | 24 | BuildRequires: libstdc++-devel |
ba53332f | 25 | BuildRequires: lm_sensors-devel |
74a2bca9 | 26 | BuildRequires: mozldap-devel >= 6.0 |
faa95af0 | 27 | BuildRequires: ncurses-devel |
1af8cdd9 | 28 | BuildRequires: net-snmp-devel >= 5.2.1 |
26de442e JB |
29 | BuildRequires: nspr-devel >= 1:4.4.1 |
30 | BuildRequires: nss-devel >= 1:3.9.3 | |
9cfb2959 | 31 | BuildRequires: rpmbuild(macros) >= 1.228 |
1af8cdd9 JB |
32 | BuildRequires: which |
33 | BuildRequires: zip | |
4f0d3634 MWP |
34 | # |
35 | #BuildRequires: Java/XML Components | |
36 | # axis.jar, jaxrpc.jar, and saaj.jar - http://ws.apache.org/axis/index.html | |
37 | # xercesImpl.jar and xml-apis.jar - http://xml.apache.org/xerces2-j/download.cgi | |
38 | # activation.jar - http://java.sun.com/products/javabeans/glasgow/jaf.html | |
39 | # axrpc-api.jar - http://java.sun.com/webservices/downloads/webservicespack.html | |
40 | # crimson.jar - http://xml.apache.org/dist/crimson/ | |
b2761561 | 41 | #BuildRequires: apache-devel |
b94b8464 | 42 | #BuildRequires: ant >= 1.6.1 |
b2761561 | 43 | #BuildRequires: krb5-devel |
4f0d3634 | 44 | #BuildRequires: mozilla-components: DBM (v1.61), NSS (v3.93), SVRCORE (v4.0), LDAPSDK (v5.16), and PerLDAP (*) |
b2761561 | 45 | #BuildRequires: perl-Mozilla-LDAP |
faa95af0 MWP |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
48 | %description | |
49 | The Fedora Directory Server is a robust, scalable open-source server | |
50 | designed to manage large directories of users and resources. It is | |
51 | based on an open-systems server protocol called the Lightweight | |
52 | Directory Access Protocol (LDAP). The Fedora Directory Server is a | |
53 | world-class Directory Server implementation. Some of the more | |
54 | interesting features that are included are: | |
55 | - 4-Way Multi-Master Replication | |
56 | - Scalability: thousands of operations per second, tens of thousands | |
57 | of concurrent users, tens of millions of entries, hundreds of | |
58 | gigabytes of data | |
59 | - SSLv3, TLSv1, and SASL for secure authentication and transport | |
60 | - Support for most LDAPv3 features, including many common controls and | |
61 | extensions | |
62 | - Schema update over LDAP | |
63 | - Flexible in-tree Access Control Information (ACIs), updatable over | |
64 | LDAP | |
65 | - On-line configuration and management over LDAP | |
66 | - Graphical console for all facets of user, group, and server | |
67 | management | |
68 | ||
bcf5ef75 JR |
69 | %description -l pl.UTF-8 |
70 | Fedora Directory Server to potężny, posiadający otwarte źródła, | |
71 | skalowalny serwer zaprojektowany do zarządzania dużymi katalogami | |
72 | użytkowników i zasobów. Jest oparty na otwartym protokole serwerowym | |
9cfb2959 | 73 | LDAP (Lightweight Directory Access Protocol). Fedora Directory Server |
bcf5ef75 JR |
74 | to światowej klasy implementacja serwera usług katalogowych. Bardziej |
75 | interesujące cechy obejmują: | |
76 | - 4-stronną replikację multi-master | |
77 | - skalowalność: tysiące operacji na sekundą, dziesiątki tysięcy | |
78 | jednoczesnych użytkowników, dziesiątki milionów wpisów, setki | |
79 | gigabajtów danych | |
80 | - obsługę SSLv3, TLSv1 i SASL do bezpiecznego uwierzytelniania i | |
81 | przesyłania danych | |
82 | - obsługę większości cech LDAPv3, w tym wielu popularnych opcji i | |
83 | rozszerzeń | |
9cfb2959 | 84 | - uaktualnianie schematu przez LDAP |
bcf5ef75 | 85 | - elastyczne informacje o prawach dostępu w drzewie (ACI - Access |
9cfb2959 | 86 | Control Information), uaktualniane przez LDAP |
bcf5ef75 JR |
87 | - konfigurację i zarządzanie w locie przez LDAP |
88 | - graficzną konsolę dla wszystkich aspektów zarządzania użytkownikami, | |
9cfb2959 JB |
89 | grupami i serwerem |
90 | ||
faa95af0 MWP |
91 | %prep |
92 | %setup -q | |
ba53332f | 93 | # dirty hack, maybe fedora-adminserver needed |
94 | mkdir -p __admserv/admin | |
95 | touch __admserv/setup.inf | |
4f0d3634 | 96 | |
faa95af0 | 97 | %build |
26de442e JB |
98 | %{__make} buildDirectory \ |
99 | ARCH_DEBUG="%{rpmcflags}" \ | |
100 | ARCH_OPT="%{rpmcflags}" \ | |
101 | BUILD_DEBUG=%{?debug:full}%{!?debug:optimize} \ | |
b2761561 | 102 | CC="%{__cc}" \ |
103 | CXX="%{__cxx}" \ | |
ba53332f | 104 | MAKE=%{__make} \ |
26de442e JB |
105 | NSOS_TEST=PLD \ |
106 | ADMINUTIL_INCPATH=%{_includedir}/adminutil-1.0 \ | |
107 | ADMINUTIL_LINK=-ladminutil \ | |
ba53332f | 108 | ADMINSERVER_SUBCOMPS=setup.inf \ |
109 | ADMSERV_DIR=$PWD/__admserv \ | |
26de442e | 110 | CURSES="-lncurses" \ |
ba53332f | 111 | DB_BINPATH=%{_bindir} \ |
112 | DB_INCLUDE=%{_includedir} \ | |
b2761561 | 113 | DBM_INCDIR=%{_includedir} \ |
a31093e3 | 114 | DBM_LIBNAMES=gdbm \ |
a31093e3 | 115 | GSSAPI_LIBS=-lgssapi \ |
b2761561 | 116 | ICU_INCDIR=%{_includedir}/unicode \ |
ba53332f | 117 | ICU_INCPATH=%{_includedir}/icu \ |
b2761561 | 118 | LDAPSDK_INCDIR=%{_includedir}/mozldap \ |
119 | NETSNMP_INCDIR=%{_includedir}/net-snmp \ | |
a31093e3 | 120 | NETSNMP_LIBNAMES="netsnmp netsnmpagent netsnmpmibs netsnmphelpers rpm sensors" \ |
ba53332f | 121 | NSPR_INCDIR=%{_includedir}/nspr \ |
b2761561 | 122 | SASL_INCDIR=%{_includedir}/sasl \ |
ba53332f | 123 | SECURITY_INCDIR=%{_includedir}/nss \ |
26de442e | 124 | SETUPUTIL_INCDIR=/usr/include/fedora-setuputil \ |
ba53332f | 125 | SETUPUTIL_BINPATH=%{_bindir} \ |
26de442e | 126 | SVRCORE_INCLUDE="-I/usr/include/svrcore" \ |
ba2796ae ER |
127 | MFLAGS="\ |
128 | USE_ADMINSERVER=1 \ | |
ba53332f | 129 | USE_CONSOLE=0 \ |
b2761561 | 130 | USE_DSMLGW=0 \ |
ba2796ae ER |
131 | USE_ORGCHART=1 \ |
132 | USE_DSGW=1 \ | |
ba53332f | 133 | USE_JAVATOOLS=0 \ |
ba2796ae | 134 | USE_SETUPUTIL=1 \ |
ba53332f | 135 | USE_PERL_FROM_PATH=1 \ |
26de442e | 136 | DEBUG=%{?debug:full}%{!?debug:optimize} \ |
ba53332f | 137 | NOJAVA=1" |
faa95af0 MWP |
138 | |
139 | %install | |
140 | rm -rf $RPM_BUILD_ROOT | |
faa95af0 | 141 | |
faa95af0 MWP |
142 | %clean |
143 | rm -rf $RPM_BUILD_ROOT | |
144 | ||
26de442e JB |
145 | #%files |
146 | #%defattr(644,root,root,755) |