]>
Commit | Line | Data |
---|---|---|
ab2d23bb | 1 | Summary: Fedora Admin Server - administration engine |
709a92e6 | 2 | Summary(pl.UTF-8): Fedora Admin Server - silnik administracyjny |
0b01a627 | 3 | Name: fedora-adminserver |
4f71c640 | 4 | # note: don't try to "update" to 7.1 dated 20051007, it's older than 1.0 |
3001962a | 5 | Version: 1.0.3 |
0b01a627 MWP |
6 | Release: 0.1 |
7 | License: GPL | |
8 | Group: Applications | |
9 | Source0: http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz | |
3001962a | 10 | # Source0-md5: c4c209e2c387a41d8519a52cbe9323a6 |
0b01a627 | 11 | URL: http://directory.fedora.redhat.com/wiki/AdminServer |
c002590b | 12 | BuildRequires: cyrus-sasl-devel |
0b01a627 | 13 | BuildRequires: db-devel >= 4.0 |
3001962a JB |
14 | BuildRequires: fedora-adminutil-devel >= 1.0 |
15 | BuildRequires: fedora-setuputil >= 1.0 | |
0b01a627 | 16 | BuildRequires: gdbm-devel >= 1.6 |
3001962a JB |
17 | BuildRequires: libicu-devel >= 3.4 |
18 | BuildRequires: libicu-devel < 3.5 | |
c002590b | 19 | BuildRequires: libstdc++-devel |
3001962a | 20 | BuildRequires: mozldap-devel >= 6.0 |
be94c831 | 21 | BuildRequires: ncurses-devel |
0b01a627 | 22 | BuildRequires: net-snmp-devel >= 5.2.1 |
c572a974 | 23 | BuildRequires: nspr-devel >= 1:4.4.1 |
3001962a | 24 | BuildRequires: nss-devel >= 3 |
c002590b | 25 | BuildRequires: rpmbuild(macros) >= 1.228 |
be94c831 | 26 | BuildRequires: sed >= 4.0 |
0b01a627 MWP |
27 | #BuildRequires: which |
28 | #BuildRequires: zip | |
c572a974 JB |
29 | Requires: apache-mod_admserv >= 1.0 |
30 | Requires: apache-mod_nss >= 1.0 | |
31 | Requires: apache-mod_restartd >= 1.0 | |
0b01a627 MWP |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
ab2d23bb | 35 | Admin Server is the HTTP based adminstration engine used by the |
0b01a627 MWP |
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 | |
ab2d23bb | 43 | main HTTP functionality consists of the Apache module mod_admserv, and |
0b01a627 MWP |
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 | |
ab2d23bb JB |
46 | mod_restartd. |
47 | ||
f04aa3b8 JR |
48 | %description -l pl.UTF-8 |
49 | Admin Server to oparty na HTTP silnik administracyjny używany przez | |
ab2d23bb | 50 | Directory Server do uruchamiania konsoli i aplikacji WWW takich jak |
f04aa3b8 JR |
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. | |
0b01a627 | 61 | |
0b01a627 MWP |
62 | %prep |
63 | %setup -q | |
64 | ||
be94c831 JB |
65 | # don't BR ldapsdk |
66 | sed -i -e 's/build: ldapjdk nmcjdk/build:/' admserv/console/Makefile | |
67 | ||
0b01a627 | 68 | %build |
c572a974 | 69 | %{__make} buildOxygen \ |
be94c831 JB |
70 | ARCH_DEBUG="%{rpmcflags}" \ |
71 | ARCH_OPT="%{rpmcflags}" \ | |
72 | BUILD_DEBUG=%{?debug:full}%{!?debug:optimize} \ | |
0b01a627 | 73 | CC="%{__cc}" \ |
be94c831 | 74 | CCC="%{__cxx}" \ |
0b01a627 | 75 | CXX="%{__cxx}" \ |
3001962a | 76 | MAKE="%{__make}" \ |
be94c831 | 77 | CURSES="-lncurses" \ |
3001962a | 78 | NSOS_TEST=PLD \ |
be94c831 JB |
79 | MOD_ADMSERV= \ |
80 | MOD_NSS= \ | |
81 | MOD_RESTARTD= \ | |
3001962a JB |
82 | ADMINUTIL_INCLUDE=/usr/include/adminutil-1.0 \ |
83 | ADMINUTIL_LIBPATH=%{_libdir} \ | |
be94c831 | 84 | ICU_BINPATH=/usr/bin \ |
3001962a JB |
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} | |
0b01a627 MWP |
96 | |
97 | %install | |
0b01a627 | 98 | rm -rf $RPM_BUILD_ROOT |
c002590b | 99 | |
0b01a627 MWP |
100 | %clean |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
c572a974 JB |
103 | #%files |
104 | #%defattr(644,root,root,755) |