diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : mailspring -version : 1.0.12 -release : 5 +version : 1.1.4 +release : 6 source : - - https://github.com/Foundry376/Mailspring/archive/1.0.12.tar.gz : 593d1861151db5274565bb19e1238f9575b58b6644963327e449ac074429a5bd + - https://github.com/Foundry376/Mailspring/releases/download/1.1.4/mailspring-1.1.4-amd64.deb : edd32d06aa16ae3bc460c94f6ddddbbe12c3b1ae772aaa5d234e6ddadffd9544 license : - GPL-3.0 - Distributable # mailsync @@ -10,6 +10,7 @@ summary : A beautiful, fast and maintained fork of Nylas Mail by one of the original authors. description: | Leaving Nylas Mail? Mailspring is a new version by one of the original authors. It's faster, leaner, and shipping today! Mailspring replaces the JavaScript mailsync code in Nylas Mail with a new C++ sync engine based on Mailcore2. It uses roughly half the RAM and CPU of Nylas Mail and idles with almost zero "CPU Wakes", which translates to great battery life. A major overhaul of the package manager and dependency tree mean it launches faster too. You might not even notice it's an Electron app! +extract : no networking : yes replaces : n1 builddeps : @@ -24,34 +25,11 @@ - pkgconfig(xscrnsaver) - pkgconfig(xtst) - cups-devel - - git - - nodejs -setup : | - %patch -p1 < $pkgfiles/0001-linux-don-t-build-a-deb-or-rpm-please.patch - - # Dirty, workaround as we can't build from git as solbuild tries to download the private submodule, - # but, the build process needs git history or fails. - git init - git add * - git commit -m "mailspring" -build : | - npm config set unsafe-perm=true - npm install - npm run-script build install : | - # Copy to our destination - install -dm00755 $installdir/usr/share/mailspring - cp -r $workdir/app/dist/mailspring-linux-x64/* $installdir/usr/share/mailspring/ - - # Install binary to $PATH - install -dm00755 $installdir/usr/bin/ - ln -sv /usr/share/mailspring/mailspring $installdir/usr/bin/mailspring + ar x $sources/mailspring-${version}-amd64.deb + tar xf data.tar.* + mkdir -p %installroot% + cp -r usr %installroot%/ + cp %installroot%/usr/share/icons/hicolor/64x64/apps/mailspring.png $installdir/usr/share/pixmaps/mailspring.png - # Install icons - for size in 16 32 64 128 256 512; do - install -Dm00644 $workdir/app/build/resources/linux/icons/$size.png \ - $installdir/usr/share/icons/hicolor/${size}x${size}/apps/mailspring.png - done - # Install desktop file - install -Dm00644 $pkgfiles/mailspring.desktop $installdir/usr/share/applications/mailspring.desktop diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -22,25 +22,27 @@ /usr/bin /usr/share/applications/mailspring.desktop + /usr/share/doc /usr/share/icons/hicolor/128x128/apps/mailspring.png /usr/share/icons/hicolor/16x16/apps/mailspring.png /usr/share/icons/hicolor/256x256/apps/mailspring.png /usr/share/icons/hicolor/32x32/apps/mailspring.png - /usr/share/icons/hicolor/512x512/apps/mailspring.png /usr/share/icons/hicolor/64x64/apps/mailspring.png + /usr/share/lintian/overrides/mailspring /usr/share/mailspring + /usr/share/pixmaps/mailspring.png n1 - - 2017-12-29 - 1.0.12 + + 2018-02-19 + 1.1.4 Packaging update Alec Scott alecbcs@gmail.com \ No newline at end of file