1 |
# $Id: e-smith-devtools.spec,v 1.6 2015/06/29 20:22:43 stephdl 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 1 |
%define release 10 |
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 |
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 |
|
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 |
39 |
|
- Quote filenames in genfilelist so filenames containing spaces are correctly |
40 |
|
handled [SME: 9750] |
41 |
|
|
42 |
|
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
43 |
|
- Panel links points on the manager's C wrapper, and original cgi are not |
44 |
|
suid anymore. [SME: 9393] |
45 |
|
- console is now also called through a C wrapper to replace perl-suid [SME: 9393] |
46 |
|
|
47 |
|
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
48 |
|
- Ignore more system directories [SME: 9347] |
49 |
|
|
50 |
|
* Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
51 |
|
- Don't add %dir and %attr in genfilelist for symlinks, code from |
52 |
|
Charlie Brady [SME: 9232] |
53 |
|
|
54 |
* Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
* Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
55 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
56 |
|
|
433 |
|
|
434 |
%prep |
%prep |
435 |
%setup |
%setup |
436 |
|
%patch0 -p1 |
437 |
|
%patch1 -p1 |
438 |
|
%patch2 -p1 |
439 |
|
%patch3 -p1 |
440 |
|
%patch4 -p1 |
441 |
|
%patch5 -p1 |
442 |
|
|
443 |
%build |
%build |
444 |
|
|
445 |
%install |
%install |
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 |