]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - subversion/subversion.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / subversion / subversion.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = subversion
7 version = 1.9.4
8 release = 1
9
10 groups = Development/Tools
11 url = http://subversion.apache.org/
12 license = ASL 2.0
13 summary = A Modern Concurrent Version Control System.
14
15 description
16 Subversion is a concurrent version control system which enables one
17 or more users to collaborate in developing and maintaining a
18 hierarchy of files and directories while keeping a history of all
19 changes. Subversion only stores the differences between versions,
20 instead of every complete file. Subversion is intended to be a
21 compelling replacement for CVS.
22 end
23
24 source_dl = http://www.apache.org/dist/subversion/
25
26 build
27 requires
28 perl(ExtUtils::MakeMaker)
29 perl(ExtUtils::Embed)
30 perl-Carp
31 autoconf
32 apr-util-devel
33 automake
34 expat-devel
35 libapr-devel
36 libdb-devel
37 perl-devel
38 sqlite-devel
39 swig
40 zlib-devel
41 end
42
43 configure_options += \
44 CPPFLAGS="-P" \
45 --disable-mod-activation \
46 --disable-static
47
48 prepare_cmds
49 # Regenerate build system.
50 sed -i "/seems to be moved/s/^/#/" build/ltmain.sh &&
51 ./autogen.sh
52
53 # Fix shebang lines.
54 perl -pi -e 's|/usr/bin/env perl -w|/usr/bin/perl -w|' tools/hook-scripts/*.pl.in
55 end
56
57 install_cmds
58 # Build / Install perl bindings.
59 make swig-pl-lib %{PARALLELISMFLAGS}
60 make install-swig-pl-lib DESTDIR=%{BUILDROOT}
61
62 cd subversion/bindings/swig/perl/native
63
64 # Doesn't allow OPTIMIZE="%{CFLAGS}".
65 perl Makefile.PL INSTALLDIRS=vendor
66 make %{PARALLELISMFLAGS}
67 make pure_install PERL_INSTALL_ROOT=%{BUILDROOT}
68 end
69 end
70
71 packages
72 package %{name}
73
74 package perl-%{name}
75 summary = Perl bindings to the Subversion libraries.
76 description
77 This package includes the Perl bindings to
78 the Subversion libraries.
79 end
80
81 requires
82 perl(:MODULE_COMPAT_%{perl_version})
83 end
84
85 files
86 /usr/lib/libsvn_swig_perl-1.so.*
87 /usr/lib/perl*/
88 end
89 end
90
91 package %{name}-libs
92 template LIBS
93 end
94
95 package %{name}-devel
96 template DEVEL
97 end
98
99 package %{name}-debuginfo
100 template DEBUGINFO
101 end
102 end