1 |
# $Id: e-smith-devtools.spec,v 1.6 2016/08/23 08:36:56 vip-ire Exp $ |
# $Id: e-smith-devtools.spec,v 1.8 2018/03/18 03:47:58 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 6 |
%define release 8 |
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 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser) |
22 |
AutoReqProv: no |
AutoReqProv: no |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
26 |
|
- add update event [SME: 11126] |
27 |
|
|
28 |
|
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
29 |
|
- ease update of e-smith-devtools on non SME builders [SME: 10536] |
30 |
|
|
31 |
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme |
32 |
- added grub2 directories to ignore list [SME: 10325] |
- added grub2 directories to ignore list [SME: 10325] |
33 |
|
|
433 |
%patch1 -p1 |
%patch1 -p1 |
434 |
%patch2 -p1 |
%patch2 -p1 |
435 |
%patch3 -p1 |
%patch3 -p1 |
436 |
|
%patch4 -p1 |
437 |
|
mkdir -p root/etc/e-smith/events/%{name}-update |
438 |
|
|
439 |
%build |
%build |
440 |
|
|
443 |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
mkdir -p $RPM_BUILD_ROOT/sbin/e-smith |
444 |
mkdir -p $RPM_BUILD_ROOT/root |
mkdir -p $RPM_BUILD_ROOT/root |
445 |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
446 |
|
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d |
447 |
|
|
448 |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith |
449 |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
cp buildtests $RPM_BUILD_ROOT/sbin/e-smith |
450 |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith |
451 |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith |
452 |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
cp update-po $RPM_BUILD_ROOT/sbin/e-smith |
453 |
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 |
454 |
|
cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ |
455 |
|
|
456 |
%clean |
%clean |
457 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
469 |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
%attr(0755,root,root) /sbin/e-smith/generate-lexicons |
470 |
%attr(0755,root,root) /sbin/e-smith/update-po |
%attr(0755,root,root) /sbin/e-smith/update-po |
471 |
%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 |
472 |
|
%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo |
473 |
%doc COPYING |
%doc COPYING |