1 |
# $Id: e-smith-devtools.spec,v 1.3 2016/03/18 13:35:42 vip-ire Exp $ |
# $Id: e-smith-devtools.spec,v 1.14 2022/07/30 03:56:21 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith tools for building RPMs |
Summary: e-smith tools for building RPMs |
4 |
%define name e-smith-devtools |
%define name e-smith-devtools |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 3 |
%define release 14 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-devtools-2.6.0-no_dir_and_attr_for_symlinks.patch |
Patch0: e-smith-devtools-2.6.0-no_dir_and_attr_for_symlinks.patch |
14 |
Patch1: e-smith-devtools-2.6.0-ignore_more_system_dir.patch |
Patch1: e-smith-devtools-2.6.0-ignore_more_system_dir.patch |
15 |
|
Patch2: e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch |
16 |
|
Patch3: e-smith-devtools-2.6.0-quote_filenames.patch |
17 |
|
Patch4: e-smith-devtools-2.6.0-bz10536-yum_update.patch |
18 |
|
Patch5: e-smith-devtools-2.6.0-bz11566.patch |
19 |
|
Patch6: e-smith-devtools-2.6.0-bz11993-backup.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme |
28 |
|
- remove duplication with Dar backup [SME: 11993] |
29 |
|
|
30 |
|
* Tue Jun 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
31 |
|
- ease backup include and exclude of contribs [SME: 11993] |
32 |
|
|
33 |
|
* Tue Apr 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
34 |
|
- netlogon.bat +x [SME: 11566] |
35 |
|
|
36 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
37 |
|
- add update event [SME: 11126] |
38 |
|
|
39 |
|
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
40 |
|
- ease update of e-smith-devtools on non SME builders [SME: 10536] |
41 |
|
|
42 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
43 |
|
- added grub2 directories to ignore list [SME: 10325] |
44 |
|
|
45 |
|
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
46 |
|
- Quote filenames in genfilelist so filenames containing spaces are correctly |
47 |
|
handled [SME: 9750] |
48 |
|
|
49 |
|
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
50 |
|
- Panel links points on the manager's C wrapper, and original cgi are not |
51 |
|
suid anymore. [SME: 9393] |
52 |
|
- console is now also called through a C wrapper to replace perl-suid [SME: 9393] |
53 |
|
|
54 |
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
55 |
- Ignore more system directories [SME: 9347] |
- Ignore more system directories [SME: 9347] |
56 |
|
|
442 |
%setup |
%setup |
443 |
%patch0 -p1 |
%patch0 -p1 |
444 |
%patch1 -p1 |
%patch1 -p1 |
445 |
|
%patch2 -p1 |
446 |
|
%patch3 -p1 |
447 |
|
%patch4 -p1 |
448 |
|
%patch5 -p1 |
449 |
|
%patch6 -p1 |
450 |
|
|
451 |
%build |
%build |
452 |
|
|
455 |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
456 |
mkdir -p $RPM_BUILD_ROOT/root |
mkdir -p $RPM_BUILD_ROOT/root |
457 |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
458 |
|
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d |
459 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update |
460 |
|
|
461 |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
462 |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
463 |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
464 |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
465 |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
466 |
cp CreateLinks.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
cp CreateLinks.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
467 |
|
cp Backup.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
468 |
|
cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ |
469 |
|
|
470 |
|
|
471 |
%clean |
%clean |
472 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
484 |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
485 |
%attr(0755,root,root) /sbin/e-smith/update-po |
%attr(0755,root,root) /sbin/e-smith/update-po |
486 |
%attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/CreateLinks.pm |
%attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/CreateLinks.pm |
487 |
|
%attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/Backup.pm |
488 |
|
%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo |
489 |
|
%attr(0755,root,root) /etc/e-smith/events/%{name}-update |
490 |
%doc COPYING |
%doc COPYING |