diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2014-03-21 17:11:42 +0100 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2014-03-21 17:11:42 +0100 |
| commit | 1cd5ac3c2185eb7668dca31fcb4f7b59a532a45e (patch) | |
| tree | cbdd6f5b1f18a2afc5e4c660da48f57fbe974869 | |
| parent | c0e4d98c32e1a19e69743ae7625c0941d925448e (diff) | |
| download | scl-autotools-1cd5ac3c2185eb7668dca31fcb4f7b59a532a45e.tar.gz scl-autotools-1cd5ac3c2185eb7668dca31fcb4f7b59a532a45e.tar.xz scl-autotools-1cd5ac3c2185eb7668dca31fcb4f7b59a532a45e.zip | |
autotools-latest: initialize main package
| -rw-r--r-- | repos/autotools/autotools-git/autotools-git/autotools-git.spec | 9 | ||||
| -rw-r--r-- | repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec | 79 |
2 files changed, 86 insertions, 2 deletions
diff --git a/repos/autotools/autotools-git/autotools-git/autotools-git.spec b/repos/autotools/autotools-git/autotools-git/autotools-git.spec index a6b97d0..05dd62a 100644 --- a/repos/autotools/autotools-git/autotools-git/autotools-git.spec +++ b/repos/autotools/autotools-git/autotools-git/autotools-git.spec @@ -6,7 +6,7 @@ Summary: Package that installs %scl Name: %scl_name Version: 1 -Release: 5%{?dist} +Release: 6%{?dist} BuildArch: noarch License: GPLv2+ Group: Applications/File @@ -16,7 +16,9 @@ Requires: %{scl_prefix}autoconf %{?scl:BuildRequires: iso-codes} %description -This is the main package for %scl Software Collection. +This is the main package for %scl Software Collection. It contains the latest +development (unstable) versions of autotools. Just run "scl enable %scl bash" +to make it work instead of system-default autotools. %package runtime @@ -73,6 +75,9 @@ rm -rf %{buildroot}/%{_root_sysconfdir}/rpm/macros.%{scl}-config %changelog +* Fri Mar 21 2014 Pavel Raiskup <praiskup@redhat.com> - 1-6 +- fix project description a little + * Fri Mar 21 2014 Pavel Raiskup <praiskup@redhat.com> - 1-5 - ok, revert that hack back (this is needed for epel-7, not for rhel-7 buildroot atm) diff --git a/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec new file mode 100644 index 0000000..b1c2fa6 --- /dev/null +++ b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec @@ -0,0 +1,79 @@ +# Workaround to always have %scl defined +%{!?scl:%global scl autotools-latest} + +%{?scl:%scl_package %scl} + +Summary: Package that installs %scl +Name: %scl_name +Version: 1 +Release: 1%{?dist} +BuildArch: noarch +License: GPLv2+ +Group: Applications/File + +Requires: %{scl_prefix}autoconf +%{?scl:BuildRequires: scl-utils-build} +%{?scl:BuildRequires: iso-codes} + +%description +This is the main package for %scl Software Collection. It contains the latest +released (stable) versions of autotools. Just run "scl enable %scl bash" to +make it work instead of system-default autotools. + + +%package runtime +Summary: Package that handles %scl Software Collection. +Group: Applications/File +Requires: scl-utils +Requires(post): libselinux policycoreutils-python +Requires(postun): libselinux policycoreutils-python +Requires(preun): libselinux policycoreutils-python + +%description runtime +Package shipping essential scripts to work with %scl Software Collection. + + +%package build +Summary: Package shipping basic build configuration +Group: Applications/File + +%description build +Package shipping essential configuration macros to build %scl Software Collection. + +%prep +%setup -c -T + +%install +mkdir -p %{buildroot}/%{_scl_scripts}/root + +cat > %{buildroot}/%{_scl_scripts}/enable <<EOF +export PATH=%{_bindir}\${PATH:+:\${PATH}} +export LIBRARY_PATH=%{_libdir}\${LIBRARY_PATH:+:\${LIBRARY_PATH}} +export LD_LIBRARY_PATH=%{_libdir}\${LD_LIBRARY_PATH:+:\${LD_LIBRARY_PATH}} +export MANPATH=%{_mandir}:\${MANPATH} +EOF + +%scl_install + +cat %{buildroot}/%{_root_sysconfdir}/rpm/macros.%{scl}-config +rm -rf %{buildroot}/%{_root_sysconfdir}/rpm/macros.%{scl}-config + +%files + +%if 0%{?fedora} >= 21 +%files runtime -f filelist +%else +%files runtime +%scl_files +%if 0%{?rhel} == 7 +# Temporary fix for some bug in scl-utils-build-20130529-1.el7.x86_64 +/opt/rh/autotools-git/root/lib64 +%endif +%endif + +%files build + + +%changelog +* Fri Mar 21 2014 Pavel Raiskup <praiskup@redhat.com> - 1-1 +- initial packaging |
