Commit e5cc19a0745136cabd6d55d3975c9105e78b3011
1 parent
f2480d48
Exists in
master
and in
79 other branches
noosfero: compile translations during build
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
specs/noosfero/noosfero.spec
1 | %define writable_dirs javascripts/cache stylesheets/cache articles image_uploads thumbnails | 1 | %define writable_dirs javascripts/cache stylesheets/cache articles image_uploads thumbnails |
2 | 2 | ||
3 | Name: noosfero | 3 | Name: noosfero |
4 | -Version: 1.1~rc1 | 4 | +Version: 1.1~rc2 |
5 | Release: 1%{?dist} | 5 | Release: 1%{?dist} |
6 | Summary: Social Networking Platform | 6 | Summary: Social Networking Platform |
7 | Group: Applications/Publishing | 7 | Group: Applications/Publishing |
@@ -23,8 +23,11 @@ participate and contribute to this free software project! | @@ -23,8 +23,11 @@ participate and contribute to this free software project! | ||
23 | 23 | ||
24 | %build | 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 | %install | 32 | %install |
30 | mkdir -p %{buildroot}/usr/lib/noosfero | 33 | mkdir -p %{buildroot}/usr/lib/noosfero |