Projects
Kolab:3.4
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 95
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.2.2-0~kolab2) unstable; urgency=low + + * fix location of assets, css, js and images + + -- Timotheus Pokorra <tp@tbits.net> Tue, 20 Jan 2015 18:41:13 +0200 + roundcubemail-plugins-kolab (1:3.2.2-0~kolab1) unstable; urgency=low * Release 0f 3.2.2
View file
debian.rules
Changed
@@ -23,19 +23,37 @@ # Compress the CSS - for file in `find $(CURDIR)/debian/roundcubemail/usr/share/roundcubemail/ -type f -name "*.css"`; do \ + for file in `find $(CURDIR)/debian/roundcubemail-plugins-kolab/usr/share/roundcubemail/ -type f -name "*.css"`; do \ asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ install -pm 755 -d $$asset_loc ; \ - cp -av $$file $$asset_loc/$$(basename $$file) ; \ + mv -f $$file $$asset_loc/$$(basename $$file) ; \ done # Compress the JS - for file in `find $(CURDIR)/debian/roundcubemail/usr/share/roundcubemail/ -type f -name "*.js"`; do \ + for file in `find $(CURDIR)/debian/roundcubemail-plugins-kolab/usr/share/roundcubemail/ -type f -name "*.js"`; do \ asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ install -pm 755 -d $$asset_loc ; \ - cp -av $$file $$asset_loc/$$(basename $$file) ; \ + mv -f $$file $$asset_loc/$$(basename $$file) ; \ done - + + # Other assets + for file in $$(find $(CURDIR)/debian/roundcubemail-plugins-kolab/usr/share/roundcubemail/ -type f \ + -name "*.eot" -o \ + -name "*.gif" -o \ + -name "*.ico" -o \ + -name "*.jpg" -o \ + -name "*.png" -o \ + -name "*.svg" -o \ + -name "*.swf" -o \ + -name "*.tif" -o \ + -name "*.ttf" -o \ + -name "*.woff" \ + ); do \ + asset_loc=$$(dirname $$(echo $$file | sed -e "s|/usr/share/roundcubemail/|/usr/share/roundcubemail/public_html/assets/|g")) ; \ + install -pm 755 -d $$asset_loc ; \ + mv -f $$file $$asset_loc/$$(basename $$file); \ + done + # Remove the original temp location in order for us to be able to replace it with a symbolic link rm -rf $(CURDIR)/debian/roundcubemail-plugins-kolab/usr/share/roundcubemail/plugins/odfviewer/files
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.2.2-0~kolab1 +Version: 1:3.2.2-0~kolab2 Maintainer: Christoph Wickert <wickert@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.