perl-db/perl-db.spec

changeset 779
8a3648cce554
parent 778
389c33ef5a93
equal deleted inserted replaced
0:e44640dbf8ee 1:67d51f04cf75
21 ## SUCH DAMAGE. 21 ## SUCH DAMAGE.
22 ## 22 ##
23 23
24 # versions of individual parts 24 # versions of individual parts
25 %define V_perl 5.16 25 %define V_perl 5.16
26 %define V_berkeleydb 0.51 26 %define V_berkeleydb 0.52
27 %define V_bdb 1.89 27 %define V_bdb 1.9
28 %define V_db_file 1.826 28 %define V_db_file 1.828
29 %define V_db_file_lock 0.05 29 %define V_db_file_lock 0.05
30 30
31 # package information 31 # package information
32 Name: perl-db 32 Name: perl-db
33 Summary: Perl Modules for use with Berkeley-DB 33 Summary: Perl Modules for use with Berkeley-DB
94 %setup -q -c 94 %setup -q -c
95 %setup -q -T -D -a 1 95 %setup -q -T -D -a 1
96 %setup -q -T -D -a 2 96 %setup -q -T -D -a 2
97 %setup -q -T -D -a 3 97 %setup -q -T -D -a 3
98 %patch -p0 98 %patch -p0
99 %{l_shtool} subst \
100 -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
101 BerkeleyDB-*/BerkeleyDB.xs \
102 BerkeleyDB-*/BerkeleyDB.xs \
103 BerkeleyDB-*/typemap \
104 BerkeleyDB-*/typemap \
105 BerkeleyDB-*/BerkeleyDB.c \
106 BerkeleyDB-*/BerkeleyDB.c \
107 BDB-*/BDB.xs \
108 BDB-*/BDB.xs \
109 DB_File-*/README \
110 DB_File-*/README \
111 DB_File-*/config.in \
112 DB_File-*/config.in \
113 DB_File-*/typemap \
114 DB_File-*/typemap \
115 DB_File-*/DB_File.xs \
116 DB_File-*/DB_File.xs
99 117
100 %build 118 %build
101 119
102 %install 120 %install
103 %{l_prefix}/bin/perl-openpkg prepare 121 %{l_prefix}/bin/perl-openpkg prepare

mercurial