Skip to content

Commit

Permalink
Merge branch 'jb48719' into 'master'
Browse files Browse the repository at this point in the history
Package initial version of 2019.01.06

See merge request mer-core/autoconf-archive!1
  • Loading branch information
Matti Kosola committed Jan 31, 2020
2 parents a6d2d26 + 9231ba5 commit 785f3fc
Show file tree
Hide file tree
Showing 4 changed files with 55 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
47 changes: 47 additions & 0 deletions rpm/autoconf-archive.spec
@@ -0,0 +1,47 @@
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
cp .tarball-version .version
# We do not want to depend on git, but we should find nicer thing to do here :/
sed -i '/build-aux\/gitlog-to-changelog/d' ./bootstrap.sh
sed -i '/gen-authors.sh/d' ./bootstrap.sh
sed -i "s/ doc//" Makefile.am
sed -i "s/ doc\/Makefile//" configure.ac
touch AUTHORS
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 785f3fc

Please sign in to comment.