rpm-build/000075500000000000000000000000001233374222700127545ustar00rootroot00000000000000rpm-build/firefox.req000075500000000000000000000010261233374222700151310ustar00rootroot00000000000000#!/bin/sh -efu # # Copyright (c) 2007 Alexey Gladkov . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. . /usr/lib/rpm/functions . /usr/lib/rpm/find-package MozillaReq() { local f t t="${0##*/}" t="${t%%.*}" for f in "$@"; do installrdf.sh -f --target="$t" "$f" done } ArgvFileAction MozillaReq "$@" rpm-build/firefox.req.files000075500000000000000000000014261233374222700162360ustar00rootroot00000000000000#!/bin/sh -efu # # Copyright (c) 2007 Alexey Gladkov . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. tab="$(printf '\t')" buildroot="${RPM_BUILD_ROOT-}" while IFS="$tab" read -r f t; do tmp= case "$f" in "$buildroot"/usr/share/firefox/extensions/*/install.rdf) tmp="${f#$buildroot/usr/share/firefox/extensions/}" ;; "$buildroot"/usr/lib*/firefox/extensions/*/install.rdf) tmp="${f#$buildroot/usr/lib*/firefox/extensions/}" ;; *) continue ;; esac [ -z "${t##*XML*}" -a "${tmp#*/}" = 'install.rdf' ] || continue printf '%s\n' "$f" done rpm-build/rpm.macros.firefox.standalone000064400000000000000000000005551233374222700205550ustar00rootroot00000000000000%firefox_cid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %firefox_name firefox %firefox_version @firefox_version@ %firefox_release @firefox_release@ %firefox_prefix %_libdir/%firefox_name %firefox_datadir %_datadir/%firefox_name %firefox_arch_extensionsdir %mozilla_arch_extdir/%firefox_cid %firefox_noarch_extensionsdir %mozilla_noarch_extdir/%firefox_cid