Skip to content

Commit

Permalink
Package initial version of 2019.01.06
Browse files Browse the repository at this point in the history
[packaging] Package version 2019.01.06. Contributes to JB#48719

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
  • Loading branch information
saukko committed Jan 28, 2020
1 parent a6d2d26 commit 2fd4062
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
@@ -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
1 change: 1 addition & 0 deletions autoconf-archive
Submodule autoconf-archive added at 235d9c
1 change: 1 addition & 0 deletions gnulib
Submodule gnulib added at e313a5
44 changes: 44 additions & 0 deletions rpm/autoconf-archive.spec
@@ -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*

0 comments on commit 2fd4062

Please sign in to comment.