1 |
# $Id: e-smith-devtools.spec,v 1.8 2018/03/18 03:47:58 jpp Exp $ |
# $Id: e-smith-devtools.spec,v 1.9 2021/01/06 20:16:40 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 8 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
26 |
- add update event [SME: 11126] |
- add update event [SME: 11126] |
27 |
|
|
28 |
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
434 |
%patch2 -p1 |
%patch2 -p1 |
435 |
%patch3 -p1 |
%patch3 -p1 |
436 |
%patch4 -p1 |
%patch4 -p1 |
|
mkdir -p root/etc/e-smith/events/%{name}-update |
|
437 |
|
|
438 |
%build |
%build |
439 |
|
|
443 |
mkdir -p $RPM_BUILD_ROOT/root |
mkdir -p $RPM_BUILD_ROOT/root |
444 |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build |
445 |
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d |
mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d |
446 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update |
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 |
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/ |
cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/ |
455 |
|
|
456 |
|
|
457 |
%clean |
%clean |
458 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
459 |
|
|
471 |
%attr(0755,root,root) /sbin/e-smith/update-po |
%attr(0755,root,root) /sbin/e-smith/update-po |
472 |
%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 |
473 |
%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo |
%attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo |
474 |
|
%attr(0755,root,root) /etc/e-smith/events/%{name}-update |
475 |
%doc COPYING |
%doc COPYING |