Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:steffens:lvermgeo:firefox
vermkv-firefox
vermkv-firefox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vermkv-firefox.spec of Package vermkv-firefox
# # spec file for VermKV Firefox configuration # # Copyright (c) 2015-2017 dass IT GmbH Cologne, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: vermkv-firefox License: GPL-3.0+ Group: Productivity/Networking/Web/Browsers Summary: VermKV Firefox Configuration Version: 38.8317 Release: 0 Url: https://trac.dass-it.de/lvermgeo/ Autoreqprov: on PreReq: permissions Requires: firefox-esr >= 38 Requires: firefox-esr < 39 # noarch not possible, because {_libdir} is platform specific #BuildArch: noarch Source: vermkv-firefox_38.8317.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: dass-tools >= 1.0.1193 BuildRequires: rsync # for some reason, firefox-esr >= 38 and firefox-esr >= 38.0.0 do not work: nothing provides ... #BuildRequires: firefox-esr # replaced by firefox-esr by MozillaFirefox as this seams to be available on all platforms # and we only need the directory structure "%%{_libdir}/firefox/" BuildRequires: MozillaFirefox BuildRequires: unzip %description VermKV specific configuration files and dependencies for Firefox (ESR version) %package test Group: Productivity/Networking/Web/Browsers Summary: Firefox Test Repositories Requires: libzypp BuildRequires: libzypp %description test Add mirror repositories with fresh version of Firefox. Used to test these new Firefox version, before release them to all users. %package esr45 Group: Productivity/Networking/Web/Browsers Summary: VermKV Firefox Configuration for Firefox ESR 45 # extra Version number can not be handled by dassbuild #Version: 45 # Conflicts: because same files are in both packages. Maybe split them into an additional package. Conflicts: vermkv-firefox # using Conflicts and Obsoletes together do not work. Conflict is required. #Obsoletes: vermkv-firefox < 45.2 #Requires: MozillaFirefox >= 45.2.0 # both forms of version numbers do exist #Requires: MozillaFirefox < 46.0 #Requires: MozillaFirefox < 46.0.0 Requires: firefox-esr45 Requires: firefox-esr45-translations-common # workaround for https://trac.dass-it.de/lvermgeo/ticket/796 # firefox-esr45-45.6.0-5.1 #Requires: firefox-esr45 = 45.6.0-5.1 #Requires: mozilla-nss = 3.26.2-94.1 # This rules are better placed in firefox-esr45. # However, placing them also here is much quicker for testing. Conflicts: firefox-esr < 45.0 Conflicts: MozillaFirefox Conflicts: MozillaFirefox-branding-openSUSE %description esr45 VermKV specific configuration files and dependencies for Firefox ESR 45 %package esr52 Group: Productivity/Networking/Web/Browsers Summary: VermKV Firefox Configuration for Firefox ESR 52 # extra Version number can not be handled by dassbuild #Version: 45 # Conflicts: because same files are in both packages. Maybe split them into an additional package. Conflicts: vermkv-firefox Conflicts: vermkv-firefox-esr45 # using Conflicts and Obsoletes together do not work. Conflict is required. #Obsoletes: vermkv-firefox < 45.2 #Requires: MozillaFirefox >= 45.2.0 # both forms of version numbers do exist #Requires: MozillaFirefox < 46.0 #Requires: MozillaFirefox < 46.0.0 Requires: firefox-esr52 Requires: firefox-esr52-translations-common # workaround for https://trac.dass-it.de/lvermgeo/ticket/796 # firefox-esr45-45.6.0-5.1 #Requires: firefox-esr45 = 45.6.0-5.1 #Requires: mozilla-nss = 3.26.2-94.1 # This rules are better placed in firefox-esr45. # However, placing them also here is much quicker for testing. Conflicts: firefox-esr < 52.0 Conflicts: MozillaFirefox Conflicts: MozillaFirefox-branding-openSUSE %description esr52 VermKV specific configuration files and dependencies for Firefox ESR 52 %package esr60 Group: Productivity/Networking/Web/Browsers Summary: VermKV Firefox Configuration for Firefox ESR 60 # extra Version number can not be handled by dassbuild #Version: 45 # Conflicts: because same files are in both packages. Maybe split them into an additional package. Conflicts: vermkv-firefox Conflicts: vermkv-firefox-esr45 Conflicts: vermkv-firefox-esr52 # using Conflicts and Obsoletes together do not work. Conflict is required. #Obsoletes: vermkv-firefox < 45.2 #Requires: MozillaFirefox >= 45.2.0 # both forms of version numbers do exist #Requires: MozillaFirefox < 46.0 #Requires: MozillaFirefox < 46.0.0 Requires: firefox-esr60 Requires: firefox-esr60-translations-common # workaround for https://trac.dass-it.de/lvermgeo/ticket/796 # firefox-esr45-45.6.0-5.1 #Requires: firefox-esr45 = 45.6.0-5.1 #Requires: mozilla-nss = 3.26.2-94.1 # This rules are better placed in firefox-esr45. # However, placing them also here is much quicker for testing. Conflicts: firefox-esr < 60.0 Conflicts: MozillaFirefox Conflicts: MozillaFirefox-branding-openSUSE %description esr60 VermKV specific configuration files and dependencies for Firefox ESR 60 %prep %setup -c %build # esr 38 #mkdir extensions #cd extensions #xpi-extract.sh ../*.xpi #cd .. # autoconfig (required since firefox 52.7.3) mkdir autoconfig cd autoconfig unzip ../autoconfig.zip cd .. %install # esr 38 #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/firefox/browser/extensions/ #rsync -av extensions/. $RPM_BUILD_ROOT/%{_libdir}/firefox/browser/extensions/. # esr 45 # requires signed extensions. But how to sign them in browser/extensions/? # Workaround: store them in browser/features/ # unsigned okay # as xpi file okay # file name must be identical with extenstion Id (see install.rdf) # extension will not be visible in extensions. # look into the preferences, to verfiy that extension have been applied. # #mkdir -p $RPM_BUILD_ROOT/%{_libdir}/firefox/browser/features/ #cp *.xpi $RPM_BUILD_ROOT/%{_libdir}/firefox/browser/features/firefox@lvermgeo.rlp.de.xpi # autoconfig mkdir -p $RPM_BUILD_ROOT/%{_libdir}/firefox/ rsync -av autoconfig/. $RPM_BUILD_ROOT/%{_libdir}/firefox/. # test %if 0%{?suse_version} == 1210 DIST="openSUSE_12.1" %endif %if 0%{?suse_version} == 1310 DIST="openSUSE_13.1" %endif %if 0%{?sle_version} == 120200 # could also be SLE12_SP2 DIST="openSUSE_42.2" %endif mkdir -p $RPM_BUILD_ROOT/etc/zypp/repos.d/ cp -a repos.d/${DIST}/*.repo $RPM_BUILD_ROOT/etc/zypp/repos.d/ %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %post chkstat -n --system --set %files %defattr(644,root,root,755) #%%{_libdir}/firefox/browser/extensions/* %{_libdir}/firefox/* %files esr45 %defattr(644,root,root,755) # only available in firefox > 38 #%%dir %%{_libdir}/firefox/browser/features/ #%%{_libdir}/firefox/browser/features/firefox@lvermgeo.rlp.de.xpi %{_libdir}/firefox/* %files esr52 %defattr(644,root,root,755) # only available in firefox > 38 #%%dir %%{_libdir}/firefox/browser/features/ #%%{_libdir}/firefox/browser/features/firefox@lvermgeo.rlp.de.xpi %{_libdir}/firefox/* %files esr60 %defattr(644,root,root,755) %{_libdir}/firefox/* %files test %defattr(644,root,root,755) /etc/zypp/repos.d/*.repo
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