Commit e5cc19a0745136cabd6d55d3975c9105e78b3011

Authored by Antonio Terceiro
1 parent f2480d48

noosfero: compile translations during build

Showing 1 changed file with 6 additions and 3 deletions   Show diff stats
specs/noosfero/noosfero.spec
1 1 %define writable_dirs javascripts/cache stylesheets/cache articles image_uploads thumbnails
2 2  
3 3 Name: noosfero
4   -Version: 1.1~rc1
  4 +Version: 1.1~rc2
5 5 Release: 1%{?dist}
6 6 Summary: Social Networking Platform
7 7 Group: Applications/Publishing
... ... @@ -23,8 +23,11 @@ participate and contribute to this free software project!
23 23  
24 24 %build
25 25  
26   -# FIXME build .mo
27   -# FIXME docs
  26 +ln -sf /usr/lib/noosfero/Gemfile .
  27 +ln -sf /usr/lib/noosfero/Gemfile.lock .
  28 +ln -sf /usr/lib/noosfero/.bundle .
  29 +ln -sfT /usr/lib/noosfero/vendor/bundle vendor/bundle
  30 +bundle exec rake -f Rakefile.release noosfero:translations:compile
28 31  
29 32 %install
30 33 mkdir -p %{buildroot}/usr/lib/noosfero
... ...