Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
evz
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
Тимофей Смирнов
evz
Commits
45674b3d
Commit
45674b3d
authored
Oct 28, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make build
parent
141bb385
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
59 deletions
+14
-59
Makefile
Makefile
+11
-10
evz
bash_completion/evz
+0
-0
rules
bin/.gear/rules
+0
-1
evz.spec
evz.spec
+3
-48
No files found.
Makefile
View file @
45674b3d
pkgdatadir
=
$(datadir)
/e
rc
pkgdatadir
=
$(datadir)
/e
vz
# due using %makeinstallstd in spec
instpkgdatadir
=
/usr/share/e
rc
instpkgdatadir
=
/usr/share/e
vz
install
:
mkdir
-p
$(DESTDIR)$(bindir)
/
mkdir
-p
$(DESTDIR)$(
s
bindir)
/
# breaks link
#install -m 755 `ls -1 bin/* | grep -v "-"`
$(DESTDIR)$(bindir)
/
cp
-a
`
ls
-1
bin/
*
|
grep
-v
"-"
`
$(DESTDIR)$(bindir)
/
chmod
0755
$(DESTDIR)$(bindir)
/
*
#install -m 755 `ls -1 bin/* | grep -v "-"`
$(DESTDIR)$(sbindir)
/
cp
-a
`
ls
-1
bin/
*
|
grep
-v
"-"
`
$(DESTDIR)$(sbindir)
/
chmod
0755
$(DESTDIR)$(sbindir)
/
*
# hack to replace path
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
-e
"s|@VERSION@|
$(version)
|g"
<bin/erc
>
$(DESTDIR)$(bindir)
/erc
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
-e
"s|@VERSION@|
$(version)
|g"
<bin/ercat
>
$(DESTDIR)$(bindir)
/ercat
#
sed -e "s|SHAREDIR=.*|SHAREDIR=$(instpkgdatadir)|g" -e "s|@VERSION@|$(version)|g" <bin/erc >$(DESTDIR)$(bindir)/erc
#
sed -e "s|SHAREDIR=.*|SHAREDIR=$(instpkgdatadir)|g" -e "s|@VERSION@|$(version)|g" <bin/ercat >$(DESTDIR)$(bindir)/ercat
mkdir
-p
$(DESTDIR)$(pkgdatadir)/
install
-m
644
`ls
-1
bin/*
|
grep
"-"
`
$(DESTDIR)$(pkgdatadir)/
#
mkdir -p $(DESTDIR)$(pkgdatadir)/
#
install -m 644 `ls -1 bin/* | grep "-"` $(DESTDIR)$(pkgdatadir)/
mkdir
-p
$(DESTDIR)$(mandir)/man8
cp
-a
`ls
-1
man/*`
$(DESTDIR)$(mandir)/man8/
b
in/b
ash_completion/evz
→
bash_completion/evz
View file @
45674b3d
File moved
bin/.gear/rules
deleted
100644 → 0
View file @
141bb385
tar: .
evz.spec
View file @
45674b3d
...
...
@@ -27,63 +27,18 @@ See detailed description in russian here: http://wiki.etersoft.ru/EVZ
# install to datadir and so on
%makeinstall version=%version-%release
mkdir -p %buildroot%_sysconfdir/bash_completion.d/
install -m 0644 bash_completion/evz
install -D -m 0644 bash_completion/evz %buildroot%_sysconfdir/bash_completion.d/evz
# shebang.req.files
#chmod a+x %buildroot%_datadir/%name/{erc-}*
%files
#doc README LICENSE TODO
%_bindir/evz
%_
s
bindir/evz
#_datadir/%name/
%_man8dir/*
%_sysconfdir/bash_completion.d/evz
%changelog
* Sun Oct 22 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.3-alt1
- add support for pack to zip if one dir arg was received
* Sat Jul 22 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.2-alt1
- fix get extension: check for tar.* firstly
- allow get type of archive for nonexists files too
* Mon Jul 10 2017 Vitaly Lipatov <lav@altlinux.ru> 0.9.1-alt1
- ercat: add lz4 support
* Fri Apr 22 2016 Vitaly Lipatov <lav@altlinux.ru> 0.9-alt1
- skip repack for the same input and output file
- erc: add add command
- erc: add tgz format recognize
- pack unerc
* Sat Aug 15 2015 Vitaly Lipatov <lav@altlinux.ru> 0.8-alt1
- erc: add -f (--force) for override target, improve test
* Tue Aug 04 2015 Vitaly Lipatov <lav@altlinux.ru> 0.7-alt1
- add zpaq and pax to supported formats
- erc: add options support and implement --quiet
- add unerc command
* Fri Feb 20 2015 Vitaly Lipatov <lav@altlinux.ru> 0.6-alt1
- improve is_target_format to check against supported target formats
* Tue Oct 15 2013 Vitaly Lipatov <lav@altlinux.ru> 0.5-alt1
- erc-archive: fix basename issues
- use bash for all scripts (welcome to debug with dash!)
* Tue Sep 03 2013 Vitaly Lipatov <lav@altlinux.ru> 0.4-alt1
- ercat: add support for plain text files too
- update README, add man pages
* Fri Jul 26 2013 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt1
- small fixes
- erc: enable search and improve help
* Fri Jul 26 2013 Vitaly Lipatov <lav@altlinux.ru> 0.2-alt1
- erc: unpack archive by default
- erc: add support for target arch to create and repack
- introduce ercat: cat any archive to stdout (like bzcat)
* Thu Jul 25 2013 Vitaly Lipatov <lav@altlinux.ru> 0.1-alt1
* Sat Oct 28 2017 Vitaly Lipatov <lav@altlinux.ru> 0.0.1-alt1
- initial build for ALT Linux Sisyphus
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