]> git.pld-linux.org Git - packages/fedora-adminserver.git/blob - fedora-adminserver.spec
- note about bogus version 7.1
[packages/fedora-adminserver.git] / fedora-adminserver.spec
1 Summary:        Fedora Admin Server - administration engine
2 Summary(pl):    Fedora Admin Server - silnik administracyjny
3 Name:           fedora-adminserver
4 # note: don't try to "update" to 7.1 dated 20051007, it's older than 1.0
5 Version:        1.0.3
6 Release:        0.1
7 License:        GPL
8 Group:          Applications
9 Source0:        http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz
10 # Source0-md5:  c4c209e2c387a41d8519a52cbe9323a6
11 URL:            http://directory.fedora.redhat.com/wiki/AdminServer
12 BuildRequires:  cyrus-sasl-devel
13 BuildRequires:  db-devel >= 4.0
14 BuildRequires:  fedora-adminutil-devel >= 1.0
15 BuildRequires:  fedora-setuputil >= 1.0
16 BuildRequires:  gdbm-devel >= 1.6
17 BuildRequires:  libicu-devel >= 3.4
18 BuildRequires:  libicu-devel < 3.5
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  mozldap-devel >= 6.0
21 BuildRequires:  ncurses-devel
22 BuildRequires:  net-snmp-devel >= 5.2.1
23 BuildRequires:  nspr-devel >= 1:4.4.1
24 BuildRequires:  nss-devel >= 3
25 BuildRequires:  rpmbuild(macros) >= 1.228
26 BuildRequires:  sed >= 4.0
27 #BuildRequires: which
28 #BuildRequires: zip
29 Requires:       apache-mod_admserv >= 1.0
30 Requires:       apache-mod_nss >= 1.0
31 Requires:       apache-mod_restartd >= 1.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Admin Server is the HTTP based adminstration engine used by the
36 Directory Server to run the console and the web based applications
37 such as Admin Express, DS Gateway, Org Chart, and others. It consists
38 of a collection of CGI binary programs and scripts, HTML pages and
39 Javascript code, the adminserver console module, setuputil modules and
40 programs, and config files. It was formerly based on the Netscape
41 Enterprise Server but has been ported to use the Apache 2.x webserver
42 using the Worker model (multi-threaded mode, not multi process). The
43 main HTTP functionality consists of the Apache module mod_admserv, and
44 the TLS/SSL functionality is provided by the Apache module mod_nss.
45 Support for starting up servers on low port numbers is provided by
46 mod_restartd.
47
48 %description -l pl
49 Admin Server to oparty na HTTP silnik administracyjny u¿ywany przez
50 Directory Server do uruchamiania konsoli i aplikacji WWW takich jak
51 Admin Express, DS Gateway, Org Chart i innych. Sk³ada siê z zestawu
52 programów binarnych i skryptów CGI, stron HTML i kodu w
53 Javascripcie, modu³u konsoli adminservera, modu³ów i programów
54 setuputil oraz plików konfiguracyjnych. Wcze¶niej by³ oparty na
55 serwerze Netscape Enterprise ale zosta³ przeportowany do u¿ywania
56 serwera WWW Apache 2.x w modelu Worker (wielow±tkowym, nie
57 wieloprocesowym). G³ówna funkcjonalno¶æ HTTP sk³ada siê z modu³u
58 Apache'a mod_admserv, a funkcjonalno¶æ TLS/SSL jest dostarczana przez
59 modu³ Apache'a mod_nss. Obs³uga uruchamiania serwerów na niskich
60 numerach portów jest dostarczana przez mod_restartd.
61
62 %prep
63 %setup -q
64
65 # don't BR ldapsdk
66 sed -i -e 's/build: ldapjdk nmcjdk/build:/' admserv/console/Makefile
67
68 %build
69 %{__make} buildOxygen \
70         ARCH_DEBUG="%{rpmcflags}" \
71         ARCH_OPT="%{rpmcflags}" \
72         BUILD_DEBUG=%{?debug:full}%{!?debug:optimize} \
73         CC="%{__cc}" \
74         CCC="%{__cxx}" \
75         CXX="%{__cxx}" \
76         MAKE="%{__make}" \
77         CURSES="-lncurses" \
78         NSOS_TEST=PLD \
79         MOD_ADMSERV= \
80         MOD_NSS= \
81         MOD_RESTARTD= \
82         ADMINUTIL_INCLUDE=/usr/include/adminutil-1.0 \
83         ADMINUTIL_LIBPATH=%{_libdir} \
84         ICU_BINPATH=/usr/bin \
85         ICU_INCLUDE=/usr/include \
86         ICU_LIBPATH=%{_libdir} \
87         LDAPOBJNAME='libldap$(LDAP_LIB_VERSION)$(LDAP_DLL_PRESUF).$(LDAP_DLL_SUFFIX)' \
88         LDAPSDK_INCLUDE=/usr/include/mozldap \
89         LDAPSDK_LIBPATH=%{_libdir} \
90         NSPR_INCLUDE=/usr/include/nspr \
91         NSPR_LIBPATH=%{_libdir} \
92         SECURITY_INCLUDE=/usr/include/nss \
93         SECURITY_LIBPATH=%{_libdir} \
94         SETUPUTIL_INCLUDE=/usr/include/fedora-setuputil \
95         SETUPUTIL_LIBPATH=%{_libdir}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 #%files
104 #%defattr(644,root,root,755)
This page took 0.177195 seconds and 3 git commands to generate.