Package admx-firefox: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | %define _destdir %_datadir/PolicyDefinitions %define _unpackaged_files_terminate_build 1 Name: admx-firefox Version: 7.6 Release: alt1 Summary: Firefox-specific ADMX policy templates License: MPL-2.0 Group: System/Configuration/Other Url: https://github.com/mozilla/policy-templates BuildArch: noarch BuildRequires: admx-lint Source0: policy-templates.tar %description Firefox-specific ADMX files, which are registry-based policy settings provide an XML-based structure for defining the display of the Administrative Template policy settings in the Group Policy Object Editor. %prep %setup -q -n policy-templates %install mkdir -p %buildroot%_datadir cp -a windows/ %buildroot%_destdir for file in %buildroot%_destdir/*.admx %buildroot%_destdir/*-*/*.adml; do grep -q "^\(<policyDefinitions\|<policyDefinitionResources\) .*xmlns:xsd=" "$file" || sed -i 's/^\(<policyDefinitions\|<policyDefinitionResources\)/\1 xmlns:xsd="http:\/\/www.w3.org\/2001\/XMLSchema"/' "$file" grep -q "^\(<policyDefinitions\|<policyDefinitionResources\) .*xmlns:xsi=" "$file" || sed -i 's/^\(<policyDefinitions\|<policyDefinitionResources\)/\1 xmlns:xsi="http:\/\/www.w3.org\/2001\/XMLSchema-instance"/' "$file" grep -q "^\(<policyDefinitions\|<policyDefinitionResources\) .*xmlns=" "$file" || sed -i 's/^\(<policyDefinitions\|<policyDefinitionResources\)/\1 xmlns="http:\/\/schemas.microsoft.com\/GroupPolicy\/2006\/07\/PolicyDefinitions"/' "$file" done %check for file in %buildroot%_destdir/*.admx %buildroot%_destdir/*-*/*.adml; do admx-lint --input_file "$file" done %files %doc docs/index.md linux/policies.json %dir %_destdir %dir %_destdir/*-*/ %_destdir/*.admx %_destdir/*/*.adml %changelog * Mon Dec 22 2025 Valentin Sokolov <sova@altlinux.org> 7.6-alt1 - Update Policy templates for Firefox 146 and Firefox ESR 140.6 - Fix bugs (closes: 49103) * Fri Oct 10 2025 Valentin Sokolov <sova@altlinux.org> 7.3-alt1 - Update Policy templates for Firefox 143 and Firefox ESR 140.3 * Tue Jul 22 2025 Valentin Sokolov <sova@altlinux.org> 7.0-alt1 - Update Policy templates for Firefox 140 * Mon May 26 2025 Valentin Sokolov <sova@altlinux.org> 6.11-alt1 - Update Policy templates for Firefox 139 and Firefox ESR 128.11 * Tue Apr 29 2025 Valentin Sokolov <sova@altlinux.org> 6.10-alt1 - Update Policy templates for Firefox 138 and Firefox ESR 128.10 - Fixed links and added supported versions(closes: 49087, 49089) * Mon Mar 31 2025 Valentin Sokolov <sova@altlinux.org> 6.8-alt1 - Update Policy templates for Firefox 136 and Firefox ESR 128.8 * Wed Nov 27 2024 Valentin Sokolov <sova@altlinux.org> 6.5-alt1 - Update Policy templates for Firefox 133 and Firefox ESR 128.4 * Mon Nov 25 2024 Valentin Sokolov <sova@altlinux.org> 6.4-alt1 - Update Policy templates for Firefox 132 and Firefox ESR 128.4 - Update descriptions in Russian-language group policy templates * Fri Oct 11 2024 Valentin Sokolov <sova@altlinux.org> 6.3-alt1 - Update Policy templates for Firefox 128 and Firefox ESR 128 - Added support for Russian-language group policy templates * Tue Aug 06 2024 Valentin Sokolov <sova@altlinux.org> 6.0-alt1 - Update Policy templates for Firefox 128 and Firefox ESR 128 * Mon Jul 08 2024 Valentin Sokolov <sova@altlinux.org> 5.12-alt1 - Update Policy templates for Firefox 127 and Firefox ESR 115.12 * Fri May 10 2024 Evgeny Sinelnikov <sin@altlinux.org> 5.10-alt1 - Update Policy templates for Firefox 125 and Firefox ESR 115.10 * Tue Mar 05 2024 Valentin Sokolov <sova@altlinux.org> 5.8-alt1 - Update Policy templates for Firefox 123 and Firefox ESR 115.8 * Fri Feb 09 2024 Valentin Sokolov <sova@altlinux.org> 5.7-alt1 - Update Policy templates for Firefox 122 and Firefox ESR 115.7 * Thu Jan 11 2024 Valentin Sokolov <sova@altlinux.org> 5.6-alt1 - Update Policy templates for Firefox 121 and Firefox ESR 115.6 * Thu Nov 23 2023 Evgeny Sinelnikov <sin@altlinux.org> 5.5-alt1 - Update Policy templates for Firefox 120 and Firefox ESR 115.5 - Add "Enable or disable printing" policy support * Fri Oct 20 2023 Evgeny Sinelnikov <sin@altlinux.org> 5.3-alt1 - Update Policy templates for Firefox 118 and Firefox ESR 115.3 * Fri Oct 20 2023 Evgeny Sinelnikov <sin@altlinux.org> 4.12-alt1 - Update Policy templates for Firefox 114 and Firefox ESR 102.12 * Tue Oct 25 2022 Evgeny Sinelnikov <sin@altlinux.org> 4.4-alt1 - Update Policy templates for Firefox 106 and Firefox ESR 102.4 - This release contains some typo fixes and new Russian translations thanks to lepata@ * Wed Sep 14 2022 Evgeny Sinelnikov <sin@altlinux.org> 4.1-alt1 - Update Policy templates for Firefox 103 and Firefox ESR 102.1 - While these templates will work for Firefox ESR 91, they contain new policies that are not in Firefox ESR 91: + ExemptDomainFileTypePairsFromFileTypeDownloadWarnings + StartDownloadsInTempDirectory + UseSystemPrintDialog * Mon Sep 06 2021 Alenka Glukhovskaya <alenka@altlinux.org> 3.0-alt1 - Update to new release * Sun Jul 18 2021 Evgeny Sinelnikov <sin@altlinux.org> 2.12-alt1 - Update to new release - Add admx-lint check with special workaround: https://github.com/altlinux/admx-lint/issues/1 * Fri May 07 2021 Evgeny Sinelnikov <sin@altlinux.org> 2.10-alt1 - Update to new release with russian translation - Set right URL of upstream project * Fri Apr 02 2021 Alenka Glukhovskaya <alenka@altlinux.org> 2.9-alt1 - Initial release |