]> git.pld-linux.org Git - packages/fedora-adminserver.git/blame - fedora-adminserver.spec
- tabs in preamble
[packages/fedora-adminserver.git] / fedora-adminserver.spec
CommitLineData
ab2d23bb 1Summary: Fedora Admin Server - administration engine
709a92e6 2Summary(pl.UTF-8): Fedora Admin Server - silnik administracyjny
0b01a627 3Name: fedora-adminserver
4f71c640 4# note: don't try to "update" to 7.1 dated 20051007, it's older than 1.0
3001962a 5Version: 1.0.3
0b01a627
MWP
6Release: 0.1
7License: GPL
8Group: Applications
9Source0: http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz
3001962a 10# Source0-md5: c4c209e2c387a41d8519a52cbe9323a6
0b01a627 11URL: http://directory.fedora.redhat.com/wiki/AdminServer
c002590b 12BuildRequires: cyrus-sasl-devel
0b01a627 13BuildRequires: db-devel >= 4.0
3001962a
JB
14BuildRequires: fedora-adminutil-devel >= 1.0
15BuildRequires: fedora-setuputil >= 1.0
0b01a627 16BuildRequires: gdbm-devel >= 1.6
3001962a
JB
17BuildRequires: libicu-devel >= 3.4
18BuildRequires: libicu-devel < 3.5
c002590b 19BuildRequires: libstdc++-devel
3001962a 20BuildRequires: mozldap-devel >= 6.0
be94c831 21BuildRequires: ncurses-devel
0b01a627 22BuildRequires: net-snmp-devel >= 5.2.1
c572a974 23BuildRequires: nspr-devel >= 1:4.4.1
3001962a 24BuildRequires: nss-devel >= 3
c002590b 25BuildRequires: rpmbuild(macros) >= 1.228
be94c831 26BuildRequires: sed >= 4.0
0b01a627
MWP
27#BuildRequires: which
28#BuildRequires: zip
c572a974
JB
29Requires: apache-mod_admserv >= 1.0
30Requires: apache-mod_nss >= 1.0
31Requires: apache-mod_restartd >= 1.0
0b01a627
MWP
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
ab2d23bb 35Admin Server is the HTTP based adminstration engine used by the
0b01a627
MWP
36Directory Server to run the console and the web based applications
37such as Admin Express, DS Gateway, Org Chart, and others. It consists
38of a collection of CGI binary programs and scripts, HTML pages and
39Javascript code, the adminserver console module, setuputil modules and
40programs, and config files. It was formerly based on the Netscape
41Enterprise Server but has been ported to use the Apache 2.x webserver
42using the Worker model (multi-threaded mode, not multi process). The
ab2d23bb 43main HTTP functionality consists of the Apache module mod_admserv, and
0b01a627
MWP
44the TLS/SSL functionality is provided by the Apache module mod_nss.
45Support for starting up servers on low port numbers is provided by
ab2d23bb
JB
46mod_restartd.
47
f04aa3b8
JR
48%description -l pl.UTF-8
49Admin Server to oparty na HTTP silnik administracyjny używany przez
ab2d23bb 50Directory Server do uruchamiania konsoli i aplikacji WWW takich jak
f04aa3b8
JR
51Admin Express, DS Gateway, Org Chart i innych. Składa się z zestawu
52programów binarnych i skryptów CGI, stron HTML i kodu w
53Javascripcie, modułu konsoli adminservera, modułów i programów
54setuputil oraz plików konfiguracyjnych. Wcześniej był oparty na
55serwerze Netscape Enterprise ale został przeportowany do używania
56serwera WWW Apache 2.x w modelu Worker (wielowątkowym, nie
57wieloprocesowym). Główna funkcjonalność HTTP składa się z modułu
58Apache'a mod_admserv, a funkcjonalność TLS/SSL jest dostarczana przez
59moduł Apache'a mod_nss. Obsługa uruchamiania serwerów na niskich
60numerach portów jest dostarczana przez mod_restartd.
0b01a627 61
0b01a627
MWP
62%prep
63%setup -q
64
be94c831
JB
65# don't BR ldapsdk
66sed -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 98rm -rf $RPM_BUILD_ROOT
c002590b 99
0b01a627
MWP
100%clean
101rm -rf $RPM_BUILD_ROOT
102
c572a974
JB
103#%files
104#%defattr(644,root,root,755)
This page took 0.100029 seconds and 4 git commands to generate.