Browse Source

updated 5 packages

git-2.30.1-1

imake-1.0.8-1

irqbalance-1.7.0-1

meson-0.57.1-1

vine-rpm-macros-4-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12559 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
910f6fd304

+ 43 - 42
g/git/git-vl.spec

@@ -5,11 +5,11 @@
 
 
 # Pass --without docs to rpmbuild if you don't want the documentation
 # Pass --without docs to rpmbuild if you don't want the documentation
 Name:           git
 Name:           git
-Version:        2.26.2
+Version:        2.30.1
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Summary:        Core git tools
 Summary:        Core git tools
 Summary(ja):    Core git ツール
 Summary(ja):    Core git ツール
-Group:          Development/Tools
+Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
 Distribution:   Vine Linux
 Distribution:   Vine Linux
 Packager:       iwaim
 Packager:       iwaim
@@ -54,14 +54,15 @@ The git rpm installs the core tools with minimal dependencies.  To
 install all git packages, including tools for integrating with other
 install all git packages, including tools for integrating with other
 SCMs, install the git-all meta-package.
 SCMs, install the git-all meta-package.
 
 
+
 %package all
 %package all
 Summary:	Meta-package to pull in all git tools
 Summary:	Meta-package to pull in all git tools
 Summary(ja):	すべての git ツール
 Summary(ja):	すべての git ツール
-Group:		Development/Tools
+Group:		programming
 Requires:	git = %{version}-%{release}
 Requires:	git = %{version}-%{release}
 Requires:	git-svn = %{version}-%{release}
 Requires:	git-svn = %{version}-%{release}
 Requires:	git-cvs = %{version}-%{release}
 Requires:	git-cvs = %{version}-%{release}
-%if "%{?_dist_release}" != "vl4" && %{with arch}
+%if %{with arch}
 Requires:	git-arch = %{version}-%{release}
 Requires:	git-arch = %{version}-%{release}
 %endif
 %endif
 Requires:	git-email = %{version}-%{release}
 Requires:	git-email = %{version}-%{release}
@@ -82,15 +83,16 @@ This is a dummy package which brings in all subpackages.
 %package daemon
 %package daemon
 Summary:	Git protocol daemon
 Summary:	Git protocol daemon
 Summary(ja):	Git プロトコルデーモン
 Summary(ja):	Git プロトコルデーモン
-Group:		Development/Tools
+Group:		programming,servers
 Requires:	git = %{version}-%{release}
 Requires:	git = %{version}-%{release}
 %description daemon
 %description daemon
 The git daemon for supporting git:// access to git repositories
 The git daemon for supporting git:// access to git repositories
 
 
+
 %package -n gitweb
 %package -n gitweb
 Summary:        Simple web interface to git repositories
 Summary:        Simple web interface to git repositories
 Summary(ja):    git リポジトリへのシンプルな Web インタフェース
 Summary(ja):    git リポジトリへのシンプルな Web インタフェース
-Group:          Development/Tools
+Group:          programming,servers
 Requires:       git = %{version}-%{release}
 Requires:       git = %{version}-%{release}
 
 
 %description -n gitweb
 %description -n gitweb
@@ -100,32 +102,35 @@ Simple web interface to track changes in git repositories
 %package svn
 %package svn
 Summary:        Git tools for importing Subversion repositories
 Summary:        Git tools for importing Subversion repositories
 Summary(ja):    Subversion リポジトリを git へインポートするためのツール
 Summary(ja):    Subversion リポジトリを git へインポートするためのツール
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}, subversion, perl(Term::ReadKey)
 Requires:       git = %{version}-%{release}, subversion, perl(Term::ReadKey)
 Requires:       perl(SVN::Core)
 Requires:       perl(SVN::Core)
 %description svn
 %description svn
 Git tools for importing Subversion repositories.
 Git tools for importing Subversion repositories.
 
 
+
 %package cvs
 %package cvs
 Summary:        Git tools for importing CVS repositories
 Summary:        Git tools for importing CVS repositories
 Summary(ja):    CVS リポジトリを git へインポートするためのツール
 Summary(ja):    CVS リポジトリを git へインポートするためのツール
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}, cvs, cvsps
 Requires:       git = %{version}-%{release}, cvs, cvsps
 %description cvs
 %description cvs
 Git tools for importing CVS repositories.
 Git tools for importing CVS repositories.
 
 
+
 %package contrib
 %package contrib
 Summary:        Git contrib tools
 Summary:        Git contrib tools
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}
 Requires:       git = %{version}-%{release}
 %description contrib
 %description contrib
 Git contrib tools
 Git contrib tools
 
 
-%if "%{?_dist_release}" != "vl4" && %{with arch}
+
+%if %{with arch}
 %package arch
 %package arch
 Summary:        Git tools for importing Arch repositories
 Summary:        Git tools for importing Arch repositories
 Summary(ja):    Arch リポジトリを git へインポートするためのツール
 Summary(ja):    Arch リポジトリを git へインポートするためのツール
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}, tla
 Requires:       git = %{version}-%{release}, tla
 %description arch
 %description arch
 Git tools for importing Arch repositories.
 Git tools for importing Arch repositories.
@@ -134,69 +139,69 @@ Git tools for importing Arch repositories.
 %package email
 %package email
 Summary:        Git tools for sending email
 Summary:        Git tools for sending email
 Summary(ja):    Eメールを送るための git ツール
 Summary(ja):    Eメールを送るための git ツール
-Group:          Development/Tools
+Group:          programming
 Requires:	git = %{version}-%{release}, perl-Git = %{version}-%{release}
 Requires:	git = %{version}-%{release}, perl-Git = %{version}-%{release}
 %description email
 %description email
 Git tools for sending email.
 Git tools for sending email.
 
 
+
 %package gui
 %package gui
 Summary:        Git GUI tool
 Summary:        Git GUI tool
 Summary(ja):    Git の GUI ツール
 Summary(ja):    Git の GUI ツール
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}, tk
 Requires:       git = %{version}-%{release}, tk
 %description gui
 %description gui
 Git GUI tool.
 Git GUI tool.
 
 
+
 %package -n gitk
 %package -n gitk
 Summary:        Git revision tree visualiser
 Summary:        Git revision tree visualiser
 Summary(ja):    Git リビジョンツリー可視化ツール
 Summary(ja):    Git リビジョンツリー可視化ツール
-Group:          Development/Tools
+Group:          programming
 Requires:       git = %{version}-%{release}, tk
 Requires:       git = %{version}-%{release}, tk
 %description -n gitk
 %description -n gitk
 Git revision tree visualiser.
 Git revision tree visualiser.
 
 
+
 %package -n perl-Git
 %package -n perl-Git
 Summary:        Perl interface to Git
 Summary:        Perl interface to Git
 Summary(ja):    Git の perl インタフェース
 Summary(ja):    Git の perl インタフェース
-Group:          Development/Libraries
+Group:          programming
 Requires:       git = %{version}-%{release}, perl(Error), perl-MailTools
 Requires:       git = %{version}-%{release}, perl(Error), perl-MailTools
-%if "%{?_dist_release}" == "vl4"
-Requires:       perl = %(rpm -q --qf '%%{epoch}:%%{version}' perl)
-%else
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-%endif
 #BuildRequires:  perl(Error), perl(ExtUtils::MakeMaker)
 #BuildRequires:  perl(Error), perl(ExtUtils::MakeMaker)
 
 
 %description -n perl-Git
 %description -n perl-Git
 Perl interface to Git.
 Perl interface to Git.
 
 
+
 %package -n emacs-git
 %package -n emacs-git
-Summary:       Git version control system support for Emacs
-Summary(ja):   Emacs の Git サポート
-Group:         Applications/Editors
-Requires:      git = %{version}-%{release}, emacsen-common
+Summary:        Git version control system support for Emacs
+Summary(ja):    Emacs の Git サポート
+Group:          programming
+Requires:       git = %{version}-%{release}, emacsen-common
 
 
 %description -n emacs-git
 %description -n emacs-git
 %{summary}.
 %{summary}.
 
 
+
 %package devel
 %package devel
 Summary:	Header files for git-core
 Summary:	Header files for git-core
 Summary(ja):	git-core 用ヘッダファイル
 Summary(ja):	git-core 用ヘッダファイル
-Group:		Development/Libraries
+Group:		programming
 
 
 %description devel
 %description devel
 Header files for git-core.
 Header files for git-core.
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q
 %setup -q
 %patch0 -p1
 %patch0 -p1
 %patch1000 -p1
 %patch1000 -p1
 
 
-# for pcre-8.12
-%if %{?_dist_release} == "vl6"
-%{__perl} -pi -e "s|#include <pcre.h>|#include <pcre/pcre.h>|" grep.h
-%endif
-
 %__mv contrib/diff-highlight/README contrib/diff-highlight/README.diff-highlight
 %__mv contrib/diff-highlight/README contrib/diff-highlight/README.diff-highlight
 
 
 # Filter bogus perl requires
 # Filter bogus perl requires
@@ -209,6 +214,7 @@ EOF
 %global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
 %global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
 chmod +x %{__perl_requires}
 chmod +x %{__perl_requires}
 
 
+
 %build
 %build
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I%{_includedir/pcre}" \
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I%{_includedir/pcre}" \
      ETC_GITCONFIG=/etc/gitconfig \
      ETC_GITCONFIG=/etc/gitconfig \
@@ -221,6 +227,7 @@ pushd contrib/diff-highlight
 make diff-highlight
 make diff-highlight
 popd
 popd
 
 
+
 %install
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
@@ -245,7 +252,6 @@ rm -f %{buildroot}%{_mandir}/man1/git-archimport.1*
 rm -f %{buildroot}/Documentation/git-archimport.html
 rm -f %{buildroot}/Documentation/git-archimport.html
 %endif
 %endif
 
 
-
 # perl-Git
 # perl-Git
 rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/FromCPAN
 rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/FromCPAN
 
 
@@ -265,7 +271,6 @@ install -m644 %{SOURCE1} %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/
 # install  script( bytecompile el and install elc , remove )
 # install  script( bytecompile el and install elc , remove )
 
 
 %_installemacsenscript git %{SOURCE10}
 %_installemacsenscript git %{SOURCE10}
-
 %_removeemacsenscript  git %{SOURCE11}
 %_removeemacsenscript  git %{SOURCE11}
 
 
 mkdir -p $RPM_BUILD_ROOT/%{_var}/lib/git
 mkdir -p $RPM_BUILD_ROOT/%{_var}/lib/git
@@ -315,31 +320,24 @@ popd
 
 
 %find_lang %{name}
 %find_lang %{name}
 
 
+
 %clean
 %clean
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
+
 %post -n emacs-git
 %post -n emacs-git
 
 
 # bytecompile and install
 # bytecompile and install
-
 if [ "$1" = 2 ]; then
 if [ "$1" = 2 ]; then
-
 %_emacsenPackageRemove git
 %_emacsenPackageRemove git
-
 fi
 fi
-
 %_addemacsenlist git
 %_addemacsenlist git
-
 %_emacsenPackageInstall git
 %_emacsenPackageInstall git
 
 
 %preun -n emacs-git
 %preun -n emacs-git
-
 if [ "$1" = 0 ]; then
 if [ "$1" = 0 ]; then
-
 %_emacsenPackageRemove git
 %_emacsenPackageRemove git
-
 %_removeemacsenlist git
 %_removeemacsenlist git
-
 fi
 fi
 
 
 
 
@@ -380,7 +378,7 @@ fi
 %{_bindir}/diff-highlight
 %{_bindir}/diff-highlight
 %{_libexecdir}/git-core/git-credential-gnome-keyring
 %{_libexecdir}/git-core/git-credential-gnome-keyring
 
 
-%if "%{?_dist_release}" != "vl4" && %{with arch}
+%if %{with arch}
 %files arch
 %files arch
 %defattr(-,root,root)
 %defattr(-,root,root)
 %doc Documentation/git-archimport.txt
 %doc Documentation/git-archimport.txt
@@ -445,11 +443,14 @@ fi
 %{_libdir}/libgit.a
 %{_libdir}/libgit.a
 %{_libdir}/libgit_xdiff.a
 %{_libdir}/libgit_xdiff.a
 
 
-
 %files all
 %files all
 # No files for you!
 # No files for you!
 
 
+
 %changelog
 %changelog
+* Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.30.1-1
+- updated to 2.30.1.
+
 * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.26.2-1
 * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.26.2-1
 - updated to 2.26.2.
 - updated to 2.26.2.
 
 

+ 35 - 11
i/imake/imake-vl.spec

@@ -1,16 +1,24 @@
+%global makedepend_version		1.0.6
+%global gccmakedep_version		1.0.3
+%global xorg_cf_files_version	1.0.6
+%global lndir_version			1.0.3
+
 Summary: imake source code configuration and build system
 Summary: imake source code configuration and build system
 Name: imake
 Name: imake
-Version: 1.0.7
-Release: 2%{?_dist_release}
+Version: 1.0.8
+Release: 1%{?_dist_release}
+Group: programming
+Vendor: Project Vine
+Distribution: Vine Linux
+
 License: MIT/X11
 License: MIT/X11
-Group: Development/Tools
-URL: http://www.x.org
-
-Source0: ftp://ftp.x.org/pub/individual/util/%{name}-%{version}.tar.bz2
-Source1: ftp://ftp.x.org/pub/individual/util/makedepend-1.0.5.tar.bz2
-Source2: ftp://ftp.x.org/pub/individual/util/gccmakedep-1.0.3.tar.bz2
-Source3: ftp://ftp.x.org/pub/individual/util/xorg-cf-files-1.0.5.tar.bz2
-Source4: ftp://ftp.x.org/pub/individual/util/lndir-1.0.3.tar.bz2
+URL: https://www.x.org/
+
+Source0: https://www.x.org/pub/individual/util/%{name}-%{version}.tar.bz2
+Source1: https://www.x.org/pub/individual/util/makedepend-%{makedepend_version}.tar.bz2
+Source2: https://www.x.org/pub/individual/util/gccmakedep-%{gccmakedep_version}.tar.bz2
+Source3: https://www.x.org/pub/individual/util/xorg-cf-files-%{xorg_cf_files_version}.tar.bz2
+Source4: https://www.x.org/pub/individual/util/lndir-%{lndir_version}.tar.bz2
 Patch2: xorg-cf-files-1.0.5-redhat.patch
 Patch2: xorg-cf-files-1.0.5-redhat.patch
 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -30,9 +38,16 @@ build system, and the Imake system is now deprecated, and should not be
 used by new software projects.  Software developers are encouraged to
 used by new software projects.  Software developers are encouraged to
 migrate software to the GNU autotools system.
 migrate software to the GNU autotools system.
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
 %setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
-%patch2 -p0 -b .redhat
+pushd xorg-cf-files-%{xorg_cf_files_version}
+%patch2 -p1 -b .redhat
+popd
+
 
 
 %build
 %build
 # Build everything
 # Build everything
@@ -52,6 +67,7 @@ migrate software to the GNU autotools system.
    done
    done
 }
 }
 
 
+
 %install
 %install
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
@@ -71,9 +87,11 @@ rm -rf $RPM_BUILD_ROOT
    done
    done
 }
 }
 
 
+
 %clean
 %clean
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
+
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
 %doc
 %doc
@@ -109,7 +127,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/revpath.1.*
 %{_mandir}/man1/revpath.1.*
 %{_mandir}/man1/xmkmf.1.*
 %{_mandir}/man1/xmkmf.1.*
 
 
+
 %changelog
 %changelog
+* Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.8-1
+- imake-1.0.8.
+- makedepend-1.0.6.
+- xorg-cf-files-1.0.6.
+
 * Sun Nov  2 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 1.0.7-2
 * Sun Nov  2 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 1.0.7-2
 - moved to Development/Tools Group
 - moved to Development/Tools Group
 
 

+ 59 - 23
i/irqbalance/irqbalance-vl.spec

@@ -1,86 +1,122 @@
+%bcond_with systemd
+
 Summary:        Daemon to balance irq's across multiple CPUs/Cores.
 Summary:        Daemon to balance irq's across multiple CPUs/Cores.
 Summary(ja):    複数の CPU 間で IRQ をバランスさせるためのデーモン
 Summary(ja):    複数の CPU 間で IRQ をバランスさせるためのデーモン
 Name:           irqbalance
 Name:           irqbalance
-Version:        1.4.0
-Release:        1%{?_dist_release}
-Group:          System Environment/Base
-
+Version:        1.7.0
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
+Group:          system
 Vendor:         Project Vine
 Vendor:         Project Vine
 Distribution:   Vine Linux
 Distribution:   Vine Linux
 
 
 License:        GPLv3
 License:        GPLv3
-URL:            http://irqbalance.github.io/irqbalance/
-Source0:        https://github.com/Irqbalance/irqbalance/archive/v1.4.0.tar.gz#/%{name}-%{version}.tar.gz
+URL:            https://irqbalance.github.io/irqbalance/
+Source0:        https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:	%{name}.init
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source2:	%{name}.sysconfig
+Source100:	%{name}.sysconfig.systemd
 
 
-Patch1:         %{name}-1.0.4-env-file-path.patch
+Patch1:         %{name}-1.7.0-env-file-path.patch
 
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:	autoconf automake libtool
 BuildRequires:	autoconf automake libtool
 BuildRequires:	glib2-devel pkgconfig libcap-ng-devel
 BuildRequires:	glib2-devel pkgconfig libcap-ng-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	ncurses-devel
-
-
-%{!?_unitdir:%global _unitdir /lib/systemd/system}
-%{!?_userunitdir:%global _userunitdir /usr/lib/systemd/user}
+%if %{with systemd}
+%{?systemd_requires}
+%else
+Requires(post): chkconfig initscripts
+Requires(preun): chkconfig initscripts
+Requires(postun): initscripts
+%endif
 
 
 %description
 %description
 irqbalance is a daemon that evenly distributes IRQ load across
 irqbalance is a daemon that evenly distributes IRQ load across
 multiple CPUs for enhanced performance.
 multiple CPUs for enhanced performance.
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q
 %setup -q
 %patch1 -p1
 %patch1 -p1
 
 
+
 %build
 %build
 ./autogen.sh
 ./autogen.sh
 %configure
 %configure
 CFLAGS="%{optflags}" %__make %{?_smp_mflags}
 CFLAGS="%{optflags}" %__make %{?_smp_mflags}
 
 
+
 %install
 %install
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_sbindir}
 mkdir -p %{buildroot}%{_sbindir}
 install irqbalance %{buildroot}%{_sbindir}
 install irqbalance %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
-install %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/irqbalance
 mkdir -p %{buildroot}%{_mandir}/man1
 mkdir -p %{buildroot}%{_mandir}/man1
 install irqbalance.1 %{buildroot}%{_mandir}/man1/
 install irqbalance.1 %{buildroot}%{_mandir}/man1/
 
 
-mkdir -p %{buildroot}%{_initdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/irqbalance
+%if %{with systemd}
+install -Dpm0644 ./misc/irqbalance.service %{buildroot}/%{_unitdir}/irqbalance.service
+install -Dpm644 %{SOURCE100} %{buildroot}%{_sysconfdir}/sysconfig/irqbalance
+%else
+install -Dpm755 %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/irqbalance
+install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/irqbalance
+%endif
 
 
-mkdir -p %{buildroot}/%{_unitdir}
-install -D -p -m 0644 ./misc/irqbalance.service %{buildroot}/%{_unitdir}/irqbalance.service
 
 
 %clean
 %clean
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
 
 
 
 
 %post
 %post
-/sbin/chkconfig --add irqbalance
-/sbin/service irqbalance condrestart
+%if %{with systemd}
+%systemd_post irqbalance.service
+%else
+if [ $1 = 1 ]; then
+    /sbin/chkconfig --add irqbalance
+fi
+%endif
 
 
 %preun
 %preun
-if [ $1 = 0 ]; then
+%if %{with systemd}
+%systemd_preun irqbalance.service
+%else
+if [ $1 = 0 -o -x /bin/systemctl ]; then
     /sbin/service irqbalance stop > /dev/null 2>&1
     /sbin/service irqbalance stop > /dev/null 2>&1
     /sbin/chkconfig --del irqbalance
     /sbin/chkconfig --del irqbalance
 fi
 fi
+%endif
+
+%postun
+%if %{with systemd}
+%systemd_postun_with_restart irqbalance.service
+%else
+if [ $1 -ge 1 ]; then
+    /sbin/service irqbalance condrestart > /dev/null 2>&1 ||:
+fi
+%endif
 
 
 
 
 %files
 %files
 %defattr(-,root,root)
 %defattr(-,root,root)
 %license COPYING
 %license COPYING
 %doc AUTHORS
 %doc AUTHORS
-%config(noreplace) %{_sysconfdir}/rc.d/init.d/*
 %config(noreplace) %{_sysconfdir}/sysconfig/*
 %config(noreplace) %{_sysconfdir}/sysconfig/*
 %{_sbindir}/*
 %{_sbindir}/*
 %{_mandir}/*/*
 %{_mandir}/*/*
-%dir /lib/systemd
-%dir %{_unitdir}
+%if %{with systemd}
 %{_unitdir}/irqbalance.service
 %{_unitdir}/irqbalance.service
+%else
+%config(noreplace) %{_sysconfdir}/rc.d/init.d/*
+%endif
 
 
 %changelog
 %changelog
+* Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
+- updated to 1.7.0.
+- updated Patch1.
+- add systemd support (disabled as default).
+
 * Mon Mar 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-1
 * Mon Mar 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-1
 - updated to 1.4.0.
 - updated to 1.4.0.
 
 

+ 12 - 5
m/meson/meson-vl.spec

@@ -5,7 +5,7 @@
 Name:           meson
 Name:           meson
 Summary:        High productivity build system
 Summary:        High productivity build system
 Summary(ja):    高生産性ビルドシステム
 Summary(ja):    高生産性ビルドシステム
-Version:        0.55.0
+Version:        0.57.1
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -14,14 +14,11 @@ Distribution:   Vine Linux
 License:        ASL 2.0
 License:        ASL 2.0
 URL:            https://mesonbuild.com/
 URL:            https://mesonbuild.com/
 Source0:        https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
 Source0:        https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
-Source1:        macros.meson
 
 
 BuildArch:      noarch
 BuildArch:      noarch
 Obsoletes:      %{name}-gui < 0.31.0-3
 Obsoletes:      %{name}-gui < 0.31.0-3
 BuildRequires:  python3-devel
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-setuptools
-BuildRequires:  python-rpm-macros
-BuildRequires:  python3-rpm-macros
 BuildRequires:  ninja
 BuildRequires:  ninja
 # Various languages
 # Various languages
 BuildRequires:  gcc
 BuildRequires:  gcc
@@ -53,24 +50,29 @@ productivity. It aims to do this by providing simple, out-of-the-box
 support for modern software development tools and practices, such as
 support for modern software development tools and practices, such as
 unit tests, coverage reports, Valgrind, CCache and the like.
 unit tests, coverage reports, Valgrind, CCache and the like.
 
 
+
 %prep
 %prep
 %autosetup -p1
 %autosetup -p1
 find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} ';'
 find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} ';'
 # Remove MPI tests for now because it is complicated to run
 # Remove MPI tests for now because it is complicated to run
 rm -rf "test cases/frameworks/17 mpi"
 rm -rf "test cases/frameworks/17 mpi"
 
 
+
 %build
 %build
 %py3_build
 %py3_build
 
 
+
 %install
 %install
 %py3_install
 %py3_install
 
 
-install -Dpm0644 %{SOURCE1} %{buildroot}%{rpmmacrodir}/macros.%{name}
+install -Dpm0644 data/macros.meson %{buildroot}%{rpmmacrodir}/macros.%{name}
+
 
 
 %check
 %check
 export MESON_PRINT_TEST_OUTPUT=1
 export MESON_PRINT_TEST_OUTPUT=1
 python3 ./run_tests.py ||:
 python3 ./run_tests.py ||:
 
 
+
 %files
 %files
 %license COPYING
 %license COPYING
 %{_bindir}/%{name}
 %{_bindir}/%{name}
@@ -80,7 +82,12 @@ python3 ./run_tests.py ||:
 %{_mandir}/man1/%{name}.1*
 %{_mandir}/man1/%{name}.1*
 %{rpmmacrodir}/macros.*
 %{rpmmacrodir}/macros.*
 
 
+
 %changelog
 %changelog
+* Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.57.1-1
+- new upstream release.
+- dropped Source1: use macros in tarball.
+
 * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.55.0-1
 * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.55.0-1
 - new upstream release.
 - new upstream release.
 
 

+ 4 - 1
v/vine-rpm-macros/vine-rpm-macros-vl.spec

@@ -1,7 +1,7 @@
 Summary:        rpm macros for Vine Linux
 Summary:        rpm macros for Vine Linux
 Summary(ja):    Vine Linux用rpmマクロ
 Summary(ja):    Vine Linux用rpmマクロ
 Name:           vine-rpm-macros
 Name:           vine-rpm-macros
-Version:        3
+Version:        4
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          system
 Group:          system
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -68,6 +68,9 @@ install -Dpm644 %{SOURCE0} %{buildroot}/usr/lib/rpm/macros.d/macros.vine
 
 
 
 
 %changelog
 %changelog
+* Mon Mar 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4-1
+- imported some macros from redhat-rpm-config.
+
 * Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3-1
 * Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3-1
 - imported some scriptlets from redhat-rpm-config.
 - imported some scriptlets from redhat-rpm-config.