1 |
# $Id: e-smith-devtools.spec,v 1.5 2016/05/12 17:08:37 vip-ire Exp $ |
# $Id: e-smith-devtools.spec,v 1.10 2021/01/07 18:45:37 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 5 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch2: e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch |
16 |
Patch3: e-smith-devtools-2.6.0-quote_filenames.patch |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Tue Apr 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
27 |
|
- netlogon.bat +x [SME: 11566] |
28 |
|
|
29 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
30 |
|
- add update event [SME: 11126] |
31 |
|
|
32 |
|
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
33 |
|
- ease update of e-smith-devtools on non SME builders [SME: 10536] |
34 |
|
|
35 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
36 |
|
- added grub2 directories to ignore list [SME: 10325] |
37 |
|
|
38 |
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
39 |
- Quote filenames in genfilelist so filenames containing spaces are correctly |
- Quote filenames in genfilelist so filenames containing spaces are correctly |
40 |
handled [SME: 9750] |
handled [SME: 9750] |
437 |
%patch1 -p1 |
%patch1 -p1 |
438 |
%patch2 -p1 |
%patch2 -p1 |
439 |
%patch3 -p1 |
%patch3 -p1 |
440 |
|
%patch4 -p1 |
441 |
|
%patch5 -p1 |
442 |
|
|
443 |
%build |
%build |
444 |
|
|
447 |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
448 |
mkdir -p $RPM_BUILD_ROOT/root |
mkdir -p $RPM_BUILD_ROOT/root |
449 |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
450 |
|
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d |
451 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update |
452 |
|
|
453 |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
454 |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
455 |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
456 |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
457 |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
458 |
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 |
459 |
|
cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ |
460 |
|
|
461 |
|
|
462 |
%clean |
%clean |
463 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
475 |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
476 |
%attr(0755,root,root) /sbin/e-smith/update-po |
%attr(0755,root,root) /sbin/e-smith/update-po |
477 |
%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 |
478 |
|
%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo |
479 |
|
%attr(0755,root,root) /etc/e-smith/events/%{name}-update |
480 |
%doc COPYING |
%doc COPYING |