Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package initial version of 2019.01.06
[packaging] Package version 2019.01.06. Contributes to JB#48719 Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "gnulib"] | ||
path = gnulib | ||
url = https://git.sailfishos.org/mirror/gnulib.git | ||
[submodule "autoconf-archive"] | ||
path = autoconf-archive | ||
url = https://git.savannah.gnu.org/git/autoconf-archive.git |
Submodule autoconf-archive
added at
235d9c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Name: autoconf-archive | ||
Version: 2019.01.06 | ||
Release: 1 | ||
Summary: The Autoconf Macro Archive | ||
License: GPLv3+ with exceptions | ||
URL: http://www.gnu.org/software/autoconf-archive/ | ||
Source0: %{name}-%{version}.tar.xz | ||
BuildArch: noarch | ||
Requires: autoconf | ||
BuildRequires: texinfo | ||
|
||
%description | ||
The GNU Autoconf Archive is a collection of more than 450 macros for | ||
GNU Autoconf that have been contributed as free software by friendly | ||
supporters of the cause from all over the Internet. | ||
|
||
%prep | ||
%autosetup -n %{name}-%{version}/%{name} | ||
|
||
%build | ||
ln -sf ../gnulib gnulib | ||
echo %{version} | cut -d '+' -f 1 > .tarball-version | ||
# We do not want to depend on git | ||
sed -i '/build-aux\/gitlog-to-changelog/d' ./bootstrap.sh | ||
sed -i '/gen-authors.sh/d' ./bootstrap.sh | ||
cp .tarball-version .version | ||
rm -rf .git | ||
./bootstrap.sh | ||
%configure | ||
make maintainer-all | ||
%make_build | ||
|
||
%install | ||
%make_install INSTALL="install -p" | ||
# remove dir file which will be generated by /sbin/install-info | ||
rm -frv %{buildroot}%{_infodir}/dir | ||
# document files are installed another location | ||
rm -frv %{buildroot}%{_datadir}/doc/%{name} | ||
|
||
%files | ||
%doc AUTHORS NEWS README TODO | ||
%license COPYING* | ||
%{_datadir}/aclocal/*.m4 | ||
%{_infodir}/autoconf-archive.info* |