42 Commits

Author SHA1 Message Date
DeeDeeG
8fd6ee4a06 Add lsb_release file to "Recommends:" of rpm spec
Actually add this to the rpm spec file, as was originally intended in
https://github.com/atom/atom/pull/25541.

This helps the bug report feature of the "notifications" package
include more system info on Linux systems -- if /usr/bin/lsb_release
is available, it will be called to gether some basic OS info to add to
the bug report info.
2022-09-13 13:01:35 -04:00
expeehaa
16c4b54fb7 Replace RPM spec requirement "lsb-core-noarch" with "/usr/bin/lsb_release".
Fixes #23560.
lsb-core-noarch pulls in a lot of unnecessary dependencies and shouldn’t be used anymore.
Instead, only actual dependencies (in this case lsb_release) should be required.
2022-06-24 01:08:51 +02:00
mfonville
faae202469 Add alsa-lib and libX11-xcb.so.1 to rpm spec 2021-05-18 08:30:57 +02:00
mfonville
a0e3d920d7 fix libgcrypt for OpenSUSE 2021-05-17 23:05:35 +02:00
mfonville
8b28eebb0c Update RPM dependencies on new insights
Require gtk3 and libgbm(library), drop their lower dependencies
2021-05-17 23:05:35 +02:00
mfonville
239e4bec19 add parentheses, fix x11-xcb libversion number 2021-05-17 23:05:35 +02:00
mfonville
a107a22403 fix or-statements 2021-05-17 23:05:35 +02:00
mfonville
d4ac2c8a7e Fix RPM dependencies 2021-05-17 23:05:32 +02:00
Maarten Fonville
3d5c83be99 Add libxkbfile.so.1 to RPM Requires (#21980) 2021-02-23 07:00:08 +03:00
DeeDeeG
ff1e4f6be4 atom.spec.in: Disable Fedora's shebang lint script (#21964)
Fedora's script tries to coerce all shebangs
to point to exact, system-provided binaries.

For example: `#!/usr/bin/env sh` becomes `#!/usr/bin/sh`.

Starting with Fedora 30, the script errors out when it encounters
ambiguous, versionless `python` in shebangs.

(`python2` and `python3` are allowed.)

For example, this shebang causes an error: `#!/usr/bin/env python`.

---

Disable this script for two reasons:

1) Fedora users should be able to build Atom without errors.
2) Consistent shebangs across builds of Atom on Ubuntu and Fedora.

See: https://github.com/atom/atom/issues/21937 for more details.

Fixes: https://github.com/atom/atom/issues/21937
2021-02-15 06:54:12 +03:00
Descear
4ecfc1c315 Use appFileName instead of appName 2020-05-29 00:52:49 +01:00
Descear
57fe385f77 Use %attr to fix chrome-sandbox 2020-05-29 00:17:11 +01:00
Antonio Scandurra
c52399b043 Update policy filename for RPM spec.in 2019-06-20 15:10:05 +02:00
Antonio Scandurra
6dcc0f1f74 Use a different polkit policy name for each Atom channel on Linux
Using the same name would generate an exception when trying to install 
more than one version of Atom at the same time.
2019-06-20 14:29:23 +02:00
Rafael Oleza
f5926fe8f1 Create folder before copying polkit policy file on redhat 2019-05-28 13:03:07 +02:00
Antonio Scandurra
3b5eb5d247 Add policy to prevent asking password more than once on RPM
See 50f73a5 for more details.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:59:29 +02:00
Antonio Scandurra
949e53e7f6 Require policykit in RPM distribution
Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:58:55 +02:00
Michelle Tilley
241d758083 ⌨️ 2017-04-27 15:05:15 -07:00
Michelle Tilley
9a4234f49f Add libsecret to RedHat deps 2017-04-27 15:05:03 -07:00
Bryant Ung
c061f36040 Updating requires for linux to support 32bit build 2017-02-17 10:39:53 -08:00
Antonio Scandurra
f8dffa33c9 Install only the 64 bit version of libXss.so.1 2017-01-09 16:05:15 +01:00
Antonio Scandurra
dddd523b4e Revert "Merge pull request #13421 from philwyett-hemi/rpm_dev"
This reverts commit 86e34d96a9.
2017-01-09 15:55:49 +01:00
Phil Wyett
af4da948e9 Commit...
* Correct requires for libXss across Fedora/RedHat (and derivatives) and SUSE.
2016-12-10 15:14:24 +00:00
Antonio Scandurra
4c5d93adec Replace libXScrnSaver with libXss.so.1 2016-12-05 14:50:26 +01:00
Antonio Scandurra
da864a8f18 Add libXScrnSaver dependency to the RPM package spec 2016-11-21 19:04:14 +01:00
Antonio Scandurra
08dcb39f87 Start on RPM package creation 2016-08-15 16:00:33 +02:00
Max Brunsfeld
3c48af049d Name files correctly for beta in debian and rpm packages 2015-09-23 17:33:00 -07:00
Machisté N. Quintana
9d70aec316 Only use lsb-core instead of full lsb suite 2015-06-07 10:49:25 -04:00
Machisté N. Quintana
2031e3dfde Use lsb virtual package instead of hard require 2015-05-28 09:12:49 -04:00
Machiste Quintana
f919bc40dc Add lsb_release as Linux dependency 2015-05-21 08:35:01 -04:00
Ethan Estrada
5f2b5c3781 Only copy icons to build location
Linux icons are now only copied for build process, not for install
process. They should be ignored for all platforms except RPM package
build on Linux.
2015-02-06 01:06:28 -07:00
Ethan Estrada
fc5a22a783 Pick up icons from icon path in RPM package build 2015-02-04 12:55:59 -07:00
Ethan Estrada
afb795d8cc mkrpm honors the '--install-dir' option of grunt
Also, atom.spec now uses the description provided by grunt instead
of hardcoding its own description.
2015-02-03 22:43:18 -07:00
Ethan Estrada
ef8a493b9a Remove some hardcoded paths from atom.spec.in
Also, fix a couple lines in atom.spec.in that either weren't
really doing anything or were inconsistent with the rest of the
script.
2015-02-03 22:03:49 -07:00
Ethan Estrada
c738145dc7 Revert "Fixes RPM install path and icon location"
This reverts commit b92e6f5a2d.
2015-02-03 21:37:14 -07:00
Ethan Estrada
223334181b Place atom.png icons in standard system locations
This is so that the atom.desktop file will be able to find the
"atom" icon when requested. This adds the dependency of ImageMagick
to convert atom.png to varying resolutions, although, only during
the rpm build process (not during actual install). So the result
is ultimatly no different for the end user.

Also, fixed an absolute path from the rpm build process and made
it relative. It was hardcoded in the spec file to
"/tmp/atom-build/Atom/*", so builds that were made elsewhere would
have broken when attempting to package into an rpm. Now rpm packaging
should work from a build made anywhere. Also needed to modify
script/mkrpm so that it copies the build files in such a way that
they can more easily be dealt with in the spec file in a relative
way.
2015-01-31 22:14:07 -07:00
Edgard Castro
b92e6f5a2d Fixes RPM install path and icon location
This makes Atom a better desktop citizen relocating to where the usual install
directory is (like on the debian package) and also fix the icon using absolute
paths, breaking icon-themes.
2015-01-31 15:04:24 -02:00
Ethan Estrada
bfeeddea4d Make rpm package installs relocatable 2015-01-29 22:55:41 -07:00
Ethan Estrada
1589b8b192 Make apm symlink relative for rpm spec 2015-01-29 22:35:11 -07:00
Ardeshir Javaherchi
fb0387f43e Remove rpm package dependencies 2014-10-30 23:26:52 -07:00
Ardeshir Javaherchi
86fdbfbb15 🐧 Update to atom.desktop in mkrpm and remove extra variables 2014-10-15 15:53:32 -07:00
Ardeshir Javaherchi
b5c6d76999 Add grunt mkrpm task to create rpm package 2014-10-11 17:04:14 -07:00