Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glibc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
mer-core
glibc
Commits
0a737623
Commit
0a737623
authored
Feb 18, 2019
by
Tomi Leppänen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[packaging] Add glibc-doc subpackage. Contributes to JB#24119
Signed-off-by:
Tomi Leppänen
<
tomi.leppanen@jolla.com
>
parent
79bc5a41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
22 deletions
+33
-22
glibc.changes
glibc.changes
+3
-0
glibc.spec
glibc.spec
+30
-22
No files found.
glibc.changes
View file @
0a737623
* Mon Feb 18 2019 Tomi Leppänen <tomi.leppanen@jolla.com> - 2.25+git3
- Add glibc-doc subpackage. Contributes to JB#24119
* Mon Feb 18 2019 Niels Breet <niels.breet@jolla.com> - 2.25+git2
- Change pthread configure params, contributes to JB#36174
- Added gnu target
...
...
glibc.spec
View file @
0a737623
Name: glibc
Summary: GNU C library shared libraries
Version: 2.25+git
2
Version: 2.25+git
3
Release: 0
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Group: System/Libraries
...
...
@@ -177,6 +177,14 @@ The glibc-debug package contains debug libraries.
If unsure if you need this, don't install this package.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
%{summary}.
%prep
rm -rf glibc-2.25
xz -dc %SOURCE0 | tar -x
...
...
@@ -409,23 +417,22 @@ rm -rf $RPM_BUILD_ROOT%{_prefix}/share/zoneinfo
# the last bit: more documentation
rm -rf ../documentation
mkdir ../documentation
cp ../glibc-2.25/crypt/README.ufc-crypt ../documentation/README.ufc-crypt
cp ../glibc-2.25/timezone/README ../documentation/README.timezone
cp ../glibc-2.25/ChangeLog{,.15,.16} ../documentation
bzip2 -9 ../documentation/ChangeLog*
cp ../glibc-2.25/posix/gai.conf ../documentation/
# Docs
cp ../glibc-2.25/COPYING ..
cp ../glibc-2.25/LICENSES ..
cp ../glibc-2.25/COPYING.LIB ..
cp ../glibc-2.25/README ..
cp ../glibc-2.25/NEWS ..
cp ../glibc-2.25/INSTALL ..
cp ../glibc-2.25/BUGS ..
cp ../glibc-2.25/CONFORMANCE ..
install -D ../glibc-2.25/hesiod/README.hesiod ../hesiod/README.hesiod
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
bzip2 -9 ../glibc-2.25/ChangeLog*
install -m0644 -t $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
../glibc-2.25/crypt/README.ufc-crypt \
../glibc-2.25/ChangeLog{,.16,.17}.bz2 \
../glibc-2.25/posix/gai.conf \
../glibc-2.25/README \
../glibc-2.25/NEWS \
../glibc-2.25/INSTALL \
../glibc-2.25/BUGS \
../glibc-2.25/CONFORMANCE \
../glibc-2.25/hesiod/README.hesiod
install -m0644 ../glibc-2.25/timezone/README \
$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README.timezone
cp ../glibc-2.25/{COPYING,COPYING.LIB,LICENSES} ..
%if 0%{run_glibc_tests}
...
...
@@ -524,7 +531,7 @@ fi
%dir %attr(0700,root,root) /var/cache/ldconfig
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/cache/ldconfig/aux-cache
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
%
doc
COPYING COPYING.LIB LICENSES
%
license
COPYING COPYING.LIB LICENSES
%ifnarch %{auxarches}
...
...
@@ -533,12 +540,9 @@ fi
%dir %{_prefix}/lib/locale
%dir %attr(755,root,root) /etc/default
%verify(not md5 size mtime) %config(noreplace) /etc/default/nss
%doc documentation/*
%files -f build-%{name}-%{version}/devel.filelist devel
%defattr(-,root,root)
%doc README NEWS INSTALL BUGS CONFORMANCE
%doc hesiod/README.hesiod
%files -f build-%{name}-%{version}/static.filelist static
%defattr(-,root,root)
...
...
@@ -570,3 +574,7 @@ fi
%files debug
%defattr(-,root,root)
%{_prefix}/%{_lib}/debug/usr/lib/*
%files doc
%defattr(-,root,root)
%{_docdir}/%{name}-%{version}
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