GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Nodexa-Chain-Core/release-linux.sh at main · LEOSOLAR8/Nodexa-Chain-Core Expand file tree/ Copy pathrelease-linux.shMore file actions 150 lines (118 loc) · 2.98 KB / Copy pathrelease-linux.shFile metadata and controls150 lines (118 loc) · 2.98 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 VERSION=1.0.0 rm -rf ./release-linux mkdir release-linux cp ./src/clore_blockchaind ./release-linux/ cp ./src/clore-cli ./release-linux/ cp ./src/qt/clore-qt ./release-linux/ cp ./CLORECOIN_small.png ./release-linux/ cd ./release-linux/ strip clore_blockchaind strip clore-cli strip clore-qt #========================================================== # prepare for packaging deb file. mkdir clorecoin-$VERSION cd clorecoin-$VERSION mkdir -p DEBIAN echo 'Package: clorecoin Version: '$VERSION' Section: base Priority: optional Architecture: all Depends: Maintainer: Clore Description: Clore coin wallet and service. ' > ./DEBIAN/control mkdir -p ./usr/local/bin/ cp ../clore_blockchaind ./usr/local/bin/ cp ../clore-cli ./usr/local/bin/ cp ../clore-qt ./usr/local/bin/ # prepare for desktop shortcut mkdir -p ./usr/share/icons/ cp ../CLORECOIN_small.png ./usr/share/icons/ mkdir -p ./usr/share/applications/ echo ' #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/usr/local/bin/clore-qt Name=clorecoin Comment= clore coin wallet Icon=/usr/share/icons/CLORECOIN_small.png ' > ./usr/share/applications/clorecoin.desktop cd ../ # build deb file. dpkg-deb --build clorecoin-$VERSION #========================================================== # build rpm package rm -rf ~/rpmbuild/ mkdir -p ~/rpmbuild/{RPMS,SRPMS,BUILD,SOURCES,SPECS,tmp} cat <<EOF >~/.rpmmacros %_topdir %(echo $HOME)/rpmbuild %_tmppath %{_topdir}/tmp EOF #prepare for build rpm package. rm -rf clorecoin-$VERSION mkdir clorecoin-$VERSION cd clorecoin-$VERSION mkdir -p ./usr/bin/ cp ../clore_blockchaind ./usr/bin/ cp ../clore-cli ./usr/bin/ cp ../clore-qt ./usr/bin/ # prepare for desktop shortcut mkdir -p ./usr/share/icons/ cp ../CLORECOIN_small.png ./usr/share/icons/ mkdir -p ./usr/share/applications/ echo ' [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/usr/bin/clore-qt Name=clorecoin Comment= clore coin wallet Icon=/usr/share/icons/CLORECOIN_small.png ' > ./usr/share/applications/clorecoin.desktop cd ../ # make tar ball to source folder. tar -zcvf clorecoin-$VERSION.tar.gz ./clorecoin-$VERSION cp clorecoin-$VERSION.tar.gz ~/rpmbuild/SOURCES/ # build rpm package. cd ~/rpmbuild cat <<EOF > SPECS/clorecoin.spec # Don't try fancy stuff like debuginfo, which is useless on binary-only # packages. Don't strip binary too # Be sure buildpolicy set to do nothing Summary: Clore wallet rpm package Name: clorecoin Version: $VERSION Release: 1 License: MIT SOURCE0 : %{name}-%{version}.tar.gz URL: https://www.clorecoin.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description %{summary} %prep %setup -q %build # Empty section. %install rm -rf %{buildroot} mkdir -p %{buildroot} # in builddir cp -a * %{buildroot} %clean rm -rf %{buildroot} %files /usr/share/applications/clorecoin.desktop /usr/share/icons/CLORECOIN_small.png %defattr(-,root,root,-) %{_bindir}/* %changelog * Tue Aug 24 2021 Clore Project Team. - First Build EOF rpmbuild -ba SPECS/clorecoin.spec |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |