Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
3e6645e2
Commit
3e6645e2
authored
Sep 22, 2009
by
Pavel Vaynerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new version (add prepare_tarball)
parent
3c3d5ae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
2 deletions
+40
-2
libuniset.spec
conf/libuniset.spec
+10
-1
release_helper.sh
conf/release_helper.sh
+30
-1
No files found.
conf/libuniset.spec
View file @
3e6645e2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
Name: libuniset
Name: libuniset
Version: 0.97
Version: 0.97
Release: eter
6
Release: eter
9
Summary: UniSet - library for building distributed industrial control systems
Summary: UniSet - library for building distributed industrial control systems
License: GPL
License: GPL
Group: Development/C++
Group: Development/C++
...
@@ -178,6 +178,15 @@ rm -f %buildroot%_libdir/*.la
...
@@ -178,6 +178,15 @@ rm -f %buildroot%_libdir/*.la
%exclude %_pkgconfigdir/libUniSet.pc
%exclude %_pkgconfigdir/libUniSet.pc
%changelog
%changelog
* Tue Sep 22 2009 Pavel Vainerman <pv@etersoft.ru> 0.97-eter8
- new build
* Tue Sep 22 2009 Pavel Vainerman <pv@etersoft.ru> 0.97-eter7
- new build
* Tue Sep 22 2009 Pavel Vainerman <pv@etersoft.ru> 0.97-eter6
- new build
* Tue Sep 22 2009 Pavel Vainerman <pv@etersoft.ru> 0.97-eter5
* Tue Sep 22 2009 Pavel Vainerman <pv@etersoft.ru> 0.97-eter5
- minor fixes in SM
- minor fixes in SM
...
...
conf/release_helper.sh
View file @
3e6645e2
...
@@ -26,6 +26,35 @@ EOF
...
@@ -26,6 +26,35 @@ EOF
echo
"inform mail sent to
$MAILTO
"
echo
"inform mail sent to
$MAILTO
"
}
}
prepare_tarball
()
{
build_rpms_name
$SPECNAME
NAMEVER
=
$BASENAME
-
$VERSION
WDPROJECT
=
$(
pwd
)
TARNAME
=
$NAMEVER
.tar
DESTDIR
=
$TMPDIR
/
$NAMEVER
RET
=
0
mkdir
-p
$DESTDIR
rm
-rf
$DESTDIR
/
*
cp
-r
$WDPROJECT
/
*
$DESTDIR
/
cd
$DESTDIR
/
make distclean
[
-a
./autogen.sh
]
&&
./autogen.sh
rm
-rf
autom4te.cache/
rm
-rf
.git
rm
-rf
.gear
echo
"Make tarball
$TARNAME
... from
$DESTDIR
"
mkdir
-p
$RPMSOURCEDIR
/
$NICE
tar
cf
$RPMSOURCEDIR
/
$TARNAME
../
$NAMEVER
$ETERTARPARAM
||
RET
=
1
rm
-rf
$DESTDIR
cd
-
[
$RET
]
&&
echo
"build ok"
||
fatal
"Can't create tarball"
}
function
cp2ftp
()
function
cp2ftp
()
{
{
mkdir
-p
$BACKUPDIR
mkdir
-p
$BACKUPDIR
...
@@ -41,7 +70,7 @@ export BUILDNAME=$BASENAME-$VERSION-$RELEASE
...
@@ -41,7 +70,7 @@ export BUILDNAME=$BASENAME-$VERSION-$RELEASE
add_changelog_helper
"- new build"
$SPECNAME
add_changelog_helper
"- new build"
$SPECNAME
#
prepare_tarball || fatal "Can't prepare tarball"
prepare_tarball
||
fatal
"Can't prepare tarball"
rpmbb
$SPECNAME
||
fatal
"Can't build"
rpmbb
$SPECNAME
||
fatal
"Can't build"
...
...
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