1 |
# $Id: e-smith-devtools.spec,v 1.1 2016/02/04 22:54:13 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 2 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
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 |
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 |
|
|
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 |
32 |
|
- added grub2 directories to ignore list [SME: 10325] |
33 |
|
|
34 |
|
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
35 |
|
- Quote filenames in genfilelist so filenames containing spaces are correctly |
36 |
|
handled [SME: 9750] |
37 |
|
|
38 |
|
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
39 |
|
- Panel links points on the manager's C wrapper, and original cgi are not |
40 |
|
suid anymore. [SME: 9393] |
41 |
|
- console is now also called through a C wrapper to replace perl-suid [SME: 9393] |
42 |
|
|
43 |
|
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
44 |
|
- Ignore more system directories [SME: 9347] |
45 |
|
|
46 |
* Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
* Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
47 |
- Don't add %dir and %attr in genfilelist for symlinks, code from |
- Don't add %dir and %attr in genfilelist for symlinks, code from |
48 |
Charlie Brady [SME: 9232] |
Charlie Brady [SME: 9232] |
430 |
%prep |
%prep |
431 |
%setup |
%setup |
432 |
%patch0 -p1 |
%patch0 -p1 |
433 |
|
%patch1 -p1 |
434 |
|
%patch2 -p1 |
435 |
|
%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 |