Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
5ab077bb
Commit
5ab077bb
authored
Mar 10, 2015
by
Fumitoshi Ukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for "make rpm" and "make deb"
parent
3b0372bd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
8 deletions
+19
-8
.gitignore
.gitignore
+3
-0
deb.sh
packages/deb.sh
+7
-5
changelog
packages/deb/changelog
+6
-0
rpm.sh
packages/rpm.sh
+1
-1
rpm.spec
packages/rpm/rpm.spec
+2
-2
No files found.
.gitignore
View file @
5ab077bb
autom4te.cache
autom4te.cache
glog-*.tar.gz
packages/rpm-unknown
packages/debian-*
packages/deb.sh
View file @
5ab077bb
...
@@ -44,16 +44,18 @@ rm -rf tmp
...
@@ -44,16 +44,18 @@ rm -rf tmp
mkdir
-p
tmp
mkdir
-p
tmp
cd
tmp
cd
tmp
package
=
"google-glog_
$VERSION
"
# Debian has very specific requirements about the naming of build
# Debian has very specific requirements about the naming of build
# directories, and tar archives. It also wants to write all generated
# directories, and tar archives. It also wants to write all generated
# packages to the parent of the source directory. We accommodate these
# packages to the parent of the source directory. We accommodate these
# requirements by building directly from the tar file.
# requirements by building directly from the tar file.
ln
-s
"
${
topdir
}
/
${
archive
}
.tar.gz"
"
${
LIB
}${
archiv
e
}
.orig.tar.gz"
ln
-s
"
${
topdir
}
/
${
archive
}
.tar.gz"
"
${
LIB
}${
packag
e
}
.orig.tar.gz"
tar
zfx
"
${
LIB
}${
archiv
e
}
.orig.tar.gz"
tar
zfx
"
${
LIB
}${
packag
e
}
.orig.tar.gz"
[
-n
"
${
LIB
}
"
]
&&
mv
"
${
archive
}
"
"
${
LIB
}${
archiv
e
}
"
mv
"
${
archive
}
"
"
${
LIB
}${
packag
e
}
"
cd
"
${
LIB
}${
archiv
e
}
"
cd
"
${
LIB
}${
packag
e
}
"
# This is one of those 'specific requirements': where the deb control files live
# This is one of those 'specific requirements': where the deb control files live
ln
-s
"packages/deb"
"debian"
cp
-a
"packages/deb"
"debian"
# Now, we can call Debian's standard build tool
# Now, we can call Debian's standard build tool
debuild
-uc
-us
debuild
-uc
-us
...
...
packages/deb/changelog
View file @
5ab077bb
google-glog (0.3.4-1) unstable; urgency=low
* New upstream release.
-- Google Inc. <opensource@google.com> Tue, 10 Mar 2015 12:02:20 +0900
google-glog (0.3.3-1) unstable; urgency=low
google-glog (0.3.3-1) unstable; urgency=low
* New upstream release.
* New upstream release.
...
...
packages/rpm.sh
View file @
5ab077bb
...
@@ -45,7 +45,7 @@ rm -rf "$RPM_SOURCE_DIR" "$RPM_BUILD_DIR"
...
@@ -45,7 +45,7 @@ rm -rf "$RPM_SOURCE_DIR" "$RPM_BUILD_DIR"
mkdir
"
$RPM_SOURCE_DIR
"
mkdir
"
$RPM_SOURCE_DIR
"
mkdir
"
$RPM_BUILD_DIR
"
mkdir
"
$RPM_BUILD_DIR
"
cp
"
$archive
"
"
$RPM_SOURCE_DIR
"
cp
"
$archive
"
"
$RPM_SOURCE_DIR
"
/v
"
$VERSION
"
.tar.gz
rpmbuild
-bb
rpm/rpm.spec
\
rpmbuild
-bb
rpm/rpm.spec
\
--define
"NAME
$PACKAGE
"
\
--define
"NAME
$PACKAGE
"
\
...
...
packages/rpm/rpm.spec
View file @
5ab077bb
...
@@ -7,11 +7,11 @@ Summary: A C++ application logging library
...
@@ -7,11 +7,11 @@ Summary: A C++ application logging library
Version: %VERSION
Version: %VERSION
Release: %rel
Release: %rel
Group: Development/Libraries
Group: Development/Libraries
URL: http://
code.google.com/p/google-
glog
URL: http://
github.com/google/
glog
License: BSD
License: BSD
Vendor: Google
Vendor: Google
Packager: Google Inc. <opensource@google.com>
Packager: Google Inc. <opensource@google.com>
Source: http
://%{NAME}.googlecode.com/files/%{NAME}-
%{VERSION}.tar.gz
Source: http
s://github.com/google/glog/archive/v
%{VERSION}.tar.gz
Distribution: Redhat 7 and above.
Distribution: Redhat 7 and above.
Buildroot: %{_tmppath}/%{name}-root
Buildroot: %{_tmppath}/%{name}-root
Prefix: %prefix
Prefix: %prefix
...
...
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