Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
20303435
Commit
20303435
authored
Dec 20, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop ALT specific cases, use rpm-build-intro
parent
fda89c88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
27 deletions
+12
-27
eepm.spec
eepm.spec
+12
-27
No files found.
eepm.spec
View file @
20303435
%def_without external_distro_info
# from rpm-build-intro
%define pkgsystem %(distr_vendor -g)
%define pkgsystem "%(bin/distr_info -g)"
%if %pkgsystem == "yum-rpm"
%def_disable yum
%else
%def_enable yum
%endif
Name: eepm
Name: eepm
Version: 3.14.7
Version: 3.14.7
...
@@ -19,23 +13,22 @@ Url: http://wiki.etersoft.ru/EPM
...
@@ -19,23 +13,22 @@ Url: http://wiki.etersoft.ru/EPM
Packager: Vitaly Lipatov <lav@altlinux.ru>
Packager: Vitaly Lipatov <lav@altlinux.ru>
# git
-clone http://git.etersoft.ru/projects/korinf
/eepm.git
# git
clone https://github.com/Etersoft
/eepm.git
Source: ftp://updates.etersoft.ru/pub/Etersoft/Sisyphus/sources/tarball/%name-%version.tar
Source: ftp://updates.etersoft.ru/pub/Etersoft/Sisyphus/sources/tarball/%name-%version.tar
BuildArchitectures: noarch
BuildArchitectures: noarch
# use distr_vendor from it
BuildRequires: rpm-build-intro
Obsoletes: epm
Obsoletes: epm
Provides: epm = %EVR
Provides: epm = %EVR
%if
%_vendor
== "alt"
%if
"%_vendor"
== "alt"
# FIXHERE: Replace with target platform package manager
# FIXHERE: Replace with target platform package manager
Requires: apt rpm
Requires: apt rpm
%endif
%endif
%if_with external_distro_info
Requires: distro_info >= 2.5
%endif
%description
%description
Etersoft EPM is the package manager for any platform
Etersoft EPM is the package manager for any platform
and any platform version. It provides
and any platform version. It provides
...
@@ -108,18 +101,12 @@ ln -s serv %buildroot%_sysconfdir/bash_completion.d/cerv
...
@@ -108,18 +101,12 @@ ln -s serv %buildroot%_sysconfdir/bash_completion.d/cerv
chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
chmod a+x %buildroot%_datadir/%name/tools_*
chmod a+x %buildroot%_datadir/%name/tools_*
%if_with external_distro_info
mkdir -p %buildroot/var/lib/eepm/
# use external eget
#rm -v %buildroot%_datadir/%name/tools_eget
# use external distro_info
rm -v %buildroot%_bindir/distr_info
%endif
%if
_disabled yum
%if
"%pkgsystem" == "yum-rpm"
rm -v %buildroot%_bindir/yum
rm -v %buildroot%_bindir/yum
%endif
%endif
mkdir -p %buildroot/var/lib/eepm/
%files
%files
%doc README.md TODO LICENSE
%doc README.md TODO LICENSE
...
@@ -134,23 +121,21 @@ mkdir -p %buildroot/var/lib/eepm/
...
@@ -134,23 +121,21 @@ mkdir -p %buildroot/var/lib/eepm/
%_bindir/eepm
%_bindir/eepm
%_bindir/serv
%_bindir/serv
%_bindir/cerv
%_bindir/cerv
%if
_enabled yum
%if
"%pkgsystem" != "yum-rpm"
%exclude %_bindir/yum
%exclude %_bindir/yum
%endif
%endif
%dir /var/lib/eepm/
%dir /var/lib/eepm/
%if_without external_distro_info
%_bindir/distr_info
%_bindir/distr_info
%endif
%_man1dir/*
%_man1dir/*
%_datadir/%name/
%_datadir/%name/
%_sysconfdir/bash_completion.d/serv
%_sysconfdir/bash_completion.d/serv
%_sysconfdir/bash_completion.d/cerv
%_sysconfdir/bash_completion.d/cerv
%if
%_vendor
== "alt"
%if
"%_vendor"
== "alt"
%files repack
%files repack
%endif
%endif
%if
_enabled yum
%if
"%pkgsystem" != "yum-rpm"
# not for yum based system
# not for yum based system
%files yum
%files yum
%_bindir/yum
%_bindir/yum
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment