Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fusionfuture
thunderbird-beta
thunderbird-beta.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thunderbird-beta.spec of Package thunderbird-beta
%global debug_package %{nil} %global __provides_exclude_from ^%{_libexecdir}/.*$ %global __requires_exclude_from ^%{_libexecdir}/.*$ %define program thunderbird %define type beta %define program_version 133.0b5 Summary: Thunderbird Beta Name: %{program}-%{type} Version: %{program_version} Release: 0%{?dist} License: MPL-2.0 Group: Productivity/Networking/Email/Clients URL: https://www.thunderbird.net/ Source0: %{name}-latest.tar.bz2 Source1: %{name}.appdata.xml Source2: %{name}.desktop #Source0: https://download.mozilla.org/?product=thunderbird-beta-latest&os=linux64&lang=en-US BuildRequires: hicolor-icon-theme BuildRequires: desktop-file-utils %if 0%{?suse_version} || 0%{?fedora} || 0%{?mageia} BuildRequires: fdupes %endif %if 0%{?suse_version} BuildRequires: update-desktop-files BuildRequires: appstream-glib %endif %if 0%{?fedora} || 0%{?rhel} BuildRequires: libappstream-glib %endif %if 0%{?mageia} BuildRequires: appstream-util %endif Provides: application(%{name}.desktop) Provides: appdata() Provides: appdata(%{name}.appdata.xml) ExclusiveArch: x86_64 %description Mozilla %{program} %{type} - Mozilla Thunderbird build for Linux adapted to RPM package %prep tar -jxvf %{SOURCE0} %build %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_datadir}/applications %{buildroot}%{_libexecdir}/%{name} cp -rf %{_builddir}/%{program}/* %{buildroot}%{_libexecdir}/%{name}/ ln -s ../../%{_libexecdir}/%{name}/%{program} %{buildroot}%{_bindir}/%{name} install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml # icon for x in 16 22 24 32 48 64 128 256 do install -Dm644 %{_builddir}/%{program}/chrome/icons/default/default${x}.png %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/%{name}.png done desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2} %if 0%{?suse_version} %suse_update_desktop_file %{name} %endif %if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} || 0%{?mageia} appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.xml %endif # Configuring default browser behavior/settings ## Disable Update Alert echo '// Disable Update Alert pref("app.update.enabled", false);' > %{buildroot}%{_libexecdir}/%{name}/defaults/pref/vendor.js %if 0%{?suse_version} || 0%{?fedora} || 0%{?mageia} %fdupes -s %{buildroot}%{_libexecdir} %endif %clean %post %postun %pre %preun %files %{_bindir}/%{name} %{_libexecdir}/%{name}/ %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor