]> git.pld-linux.org Git - packages/fedora-setuputil.git/blob - fedora-setuputil.spec
- Build section and BR
[packages/fedora-setuputil.git] / fedora-setuputil.spec
1
2 Summary:        Fedora Setup SDK
3 Summary(pl):    Fedora Setup SDK
4 Name:           fedora-setuputil
5 Version:        1.0
6 Release:        0.1
7 License:        LGPL
8 Group:          Aplications/Libraries
9 Source0:        http://directory.fedora.redhat.com/sources/%{name}-%{version}.tar.gz
10 # Source0-md5:  6bc26ba2edee75c3c8d5bf9a21bda7b8
11 URL:            http://directory.fedora.redhat.com/wiki/SetupUtil
12 BuildRequires:  nss-devel
13 BuildRequires:  perl-Mozilla-LDAP
14 BuildRequires:  mozldap-devel
15 BuildRequires:  nspr-devel >= 4.4.1
16 BuildRequires:  rpmbuild(macros) >= 1.228
17 Requires:       perl
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Fedora Setup SDK is a library to configure your server using the
22 Configuration Directory Server.
23
24 %description -l pl
25 --
26
27 %prep
28 %setup -q
29
30 %build
31 %{__make} \
32         MAKE=make \
33         BUILD_RPM=0 \
34         BUILD_DEBUG=full \
35         
36
37 #BUILD_DEBUG=optimize  - Build optimized version
38 #BUILD_DEBUG=full      - Build debug version (default: without BUILD_DEBUG macro, debug version is built)
39 #USE_64=1              - Build 64-bit version (currently, for Solaris and HP only)
40 #BUILD_RPM=1           - Build RPM package (currently, for RHEL only)
41
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/%{_prefix}
46 cp -r $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/include $RPM_BUILD_ROOT/bin $RPM_BUILD_ROOT/%{_prefix}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT/opt
50
51 %files
52 %defattr(644,root,root,755)
53 %{_prefix}
This page took 0.072945 seconds and 3 git commands to generate.