2024-01-05 20:37:05 +01:00
|
|
|
Name: atom-bin
|
2024-01-05 20:37:05 +01:00
|
|
|
Epoch: 1
|
2024-01-05 20:37:05 +01:00
|
|
|
Version: 1.63.0
|
2024-01-05 20:37:05 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:37:05 +01:00
|
|
|
Summary: A text editor that's modern, approachable, yet hackable to the core (upstream binary distribution)
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://atom.io/
|
2024-01-05 20:37:05 +01:00
|
|
|
# NOTE: unversioned upstream archive, manually renamed
|
|
|
|
Source: https://github.com/atom/atom/releases/download/v%{version}/atom-amd64-%{version}.tar.gz
|
2024-01-05 20:37:05 +01:00
|
|
|
Source1: atom-bin-autoupdate
|
2024-01-05 20:37:05 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 20:37:05 +01:00
|
|
|
#libcrypto.so.1.0.0()(64bit): library not reported by ldconfig and not provided in any installed package
|
|
|
|
#libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit): library not reported by ldconfig and not provided in any installed package
|
|
|
|
#libssl.so.1.0.0()(64bit): library not reported by ldconfig and not provided in any installed package
|
|
|
|
#libssl.so.1.0.0(OPENSSL_1.0.0)(64bit): library not reported by ldconfig and not provided in any installed package
|
2024-01-05 20:37:05 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libmesa-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxcb-devel
|
2024-01-05 20:37:05 +01:00
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
2024-01-05 20:37:05 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: perl(Git)
|
|
|
|
BuildRequires: perl(Git::I18N)
|
|
|
|
BuildRequires: perl(Git::LoadCPAN)
|
|
|
|
BuildRequires: perl(Git::LoadCPAN::Error)
|
|
|
|
BuildRequires: perl(Git::LoadCPAN::Mail::Address)
|
|
|
|
BuildRequires: perl(Git::SVN)
|
|
|
|
BuildRequires: perl(Git::SVN::Utils)
|
|
|
|
BuildRequires: perl-CGI
|
|
|
|
BuildRequires: perl-DBI
|
|
|
|
BuildRequires: perl-YAML
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-subversion
|
2024-01-05 20:37:05 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Atom is a text editor that's modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file (upstream binary distribution).
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n atom-%{version}-amd64
|
|
|
|
|
|
|
|
#sed -i -e "/exception-reporting/d" \
|
|
|
|
# -e "/metrics/d" package.json
|
|
|
|
#
|
|
|
|
#sed -e "s/<%= description %>/%{summary}/" \
|
|
|
|
# -e "s|<%= appName %>|Atom|"\
|
|
|
|
# -e "s|<%= installDir %>/share/<%= appFileName %>|%{_bindir}|"\
|
|
|
|
# -e "s|<%= iconPath %>|atom|"\
|
|
|
|
# resources/linux/atom.desktop.in > resources/linux/atom.desktop
|
|
|
|
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
|
|
|
%define __find_provides %{_builddir}/atom-%{version}-amd64/find_provides.sh
|
|
|
|
cat > %{_builddir}/atom-%{version}-amd64/find_provides.sh <<_EOF
|
|
|
|
#! /bin/sh
|
|
|
|
grep -v %{buildroot}%{_datadir} | \
|
|
|
|
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
|
|
|
|
_EOF
|
|
|
|
chmod +x %{_builddir}/atom-%{version}-amd64/find_provides.sh
|
|
|
|
|
|
|
|
%define __find_requires %{_builddir}/atom-%{version}-amd64/find_requires.sh
|
|
|
|
cat > %{_builddir}/atom-%{version}-amd64/find_requires.sh <<_EOF
|
|
|
|
#! /bin/sh
|
|
|
|
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null |
|
|
|
|
while read line; do
|
|
|
|
[ ! -f %{buildroot}%{_datadir}/atom-x86_64/\${line/\(*} ] && echo "\$line"
|
|
|
|
done
|
|
|
|
_EOF
|
|
|
|
chmod +x %{_builddir}/atom-%{version}-amd64/find_requires.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/atom-x86_64
|
|
|
|
|
|
|
|
cp -a * %{buildroot}%{_datadir}/atom-x86_64/
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_bindir}
|
|
|
|
ln -s %{_datadir}/atom-x86_64/atom %{buildroot}%{_bindir}/atom-x86_64
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/applications
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/atom-bin.desktop << _EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Atom (upstream binary distribution)
|
|
|
|
GenericName=Text Editor
|
|
|
|
Exec=/usr/bin/atom-x86_64 %F
|
|
|
|
Icon=atom-bin
|
|
|
|
Type=Application
|
|
|
|
StartupNotify=true
|
|
|
|
Categories=GNOME;GTK;Utility;TextEditor;Development;
|
|
|
|
MimeType=text/plain;
|
|
|
|
_EOF
|
|
|
|
|
|
|
|
install -D -m0644 atom.png %{buildroot}%{_datadir}/pixmaps/atom-bin.png
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/atom-x86_64
|
|
|
|
%dir %{_datadir}/atom-x86_64
|
|
|
|
%{_datadir}/atom-x86_64/*
|
|
|
|
%{_datadir}/applications/atom-bin.desktop
|
|
|
|
%{_datadir}/pixmaps/atom-bin.png
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:37:05 +01:00
|
|
|
* Sat Nov 19 2022 Automatic Build System <autodist@mambasoft.it> 1.63.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Tue Mar 08 2022 Automatic Build System <autodist@mambasoft.it> 1.60.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Wed Feb 09 2022 Automatic Build System <autodist@mambasoft.it> 1.59.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Tue Dec 07 2021 Automatic Build System <autodist@mambasoft.it> 1.58.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Tue Mar 09 2021 Automatic Build System <autodist@mambasoft.it> 1.55.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Sun Feb 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.54.0-1mamba
|
|
|
|
- update to 1.54.0
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Tue Aug 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50.0-1mamba
|
|
|
|
- update to 1.50.0
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Tue May 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.37.0-1mamba
|
|
|
|
- update to 1.37.0
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Wed Mar 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.34.0-1mamba
|
|
|
|
- update to 1.34.0
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Sun Sep 03 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.0-1mamba
|
|
|
|
- update to 1.18.0
|
|
|
|
|
|
|
|
* Sat Sep 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.5-1mamba
|
|
|
|
- update to 1.19.5
|
|
|
|
|
2024-01-05 20:37:05 +01:00
|
|
|
* Wed Aug 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.4-2mamba
|
|
|
|
- added desktop entry and icon
|
|
|
|
|
|
|
|
* Tue Aug 29 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.4-1mamba
|
|
|
|
- package upstream binary distribution for x86_64 since there are problems building it from source
|