xapian-full-alaveteli 1.2.9.3 → 1.2.9.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,6 +1,13 @@
1
1
  require 'rbconfig'
2
2
  c = Config::CONFIG
3
3
 
4
+ begin
5
+ require 'bundler'
6
+ have_bundler = true
7
+ rescue
8
+ have_bundler = false
9
+ end
10
+
4
11
  def system!(cmd)
5
12
  puts cmd
6
13
  system(cmd) or raise
@@ -19,7 +26,7 @@ task :default do
19
26
 
20
27
  Dir.chdir core do
21
28
  system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
22
- system! "make clean all LDFLAGS='-R#{prefix}/lib'"
29
+ system! "make clean all"
23
30
  system! "make install"
24
31
  end
25
32
 
@@ -27,7 +34,13 @@ task :default do
27
34
  ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
28
35
  ENV['XAPIAN_CONFIG'] = "#{prefix}/bin/xapian-config"
29
36
  system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
30
- system! "make clean all"
37
+ if have_bundler
38
+ # Maybe Bundler is building us in a temporary directory, and will move us to
39
+ # the system ruby gems directory once built.
40
+ system! "make clean all LDFLAGS='-R#{Bundler.rubygems.gem_dir}/gems/xapian-full-alaveteli-1.2.9.4/lib'"
41
+ else
42
+ system! "make clean all"
43
+ end
31
44
  end
32
45
 
33
46
  system! "cp -RL #{bindings}/ruby/.libs/_xapian.* lib"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{xapian-full-alaveteli}
5
- s.version = "1.2.9.3"
5
+ s.version = "1.2.9.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tom Adams", "Rich Lane", "Seb Bacon"]
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  "Rakefile",
16
16
  "xapian-bindings-1.2.9.tar.gz",
17
17
  "xapian-core-1.2.9.tar.gz",
18
- "xapian-full.gemspec",
18
+ "xapian-full-alaveteli.gemspec",
19
19
  ]
20
20
  s.rdoc_options = ["--charset=UTF-8"]
21
21
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xapian-full-alaveteli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 109
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 2
9
8
  - 9
10
- - 3
11
- version: 1.2.9.3
9
+ - 4
10
+ version: 1.2.9.4
12
11
  platform: ruby
13
12
  authors:
14
13
  - Tom Adams
@@ -35,7 +34,7 @@ files:
35
34
  - Rakefile
36
35
  - xapian-bindings-1.2.9.tar.gz
37
36
  - xapian-core-1.2.9.tar.gz
38
- - xapian-full.gemspec
37
+ - xapian-full-alaveteli.gemspec
39
38
  has_rdoc: true
40
39
  homepage:
41
40
  licenses: []
@@ -46,27 +45,23 @@ rdoc_options:
46
45
  require_paths:
47
46
  - lib
48
47
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
48
  requirements:
51
49
  - - ">="
52
50
  - !ruby/object:Gem::Version
53
- hash: 3
54
51
  segments:
55
52
  - 0
56
53
  version: "0"
57
54
  required_rubygems_version: !ruby/object:Gem::Requirement
58
- none: false
59
55
  requirements:
60
56
  - - ">="
61
57
  - !ruby/object:Gem::Version
62
- hash: 3
63
58
  segments:
64
59
  - 0
65
60
  version: "0"
66
61
  requirements: []
67
62
 
68
63
  rubyforge_project:
69
- rubygems_version: 1.6.2
64
+ rubygems_version: 1.3.6
70
65
  signing_key:
71
66
  specification_version: 3
72
67
  summary: xapian-core + Ruby xapian-bindings