%global commit bd5429fd4f00161b41a1dd77b9535d8a94739d9b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global debug_package %{nil}
Name: fedora-dockerfiles
Version: 0
Release: 0.14.git%{shortcommit}%{?dist}
Summary: Example dockerfiles to assist standing up containers quickly
License: GPLv2
URL: https://github.com/fedora-cloud/Fedora-Dockerfiles.git
Source0: https://github.com/fedora-cloud/Fedora-Dockerfiles/archive/%{commit}/Fedora-Dockerfiles-%{shortcommit}.tar.gz
ExclusiveArch: x86_64
Requires: docker
%description
This package provides a community contributed set of examples that can
assist in learning about Docker containers. Use these examples to
stand up test environments using the Docker container engine.
%prep
%setup -n Fedora-Dockerfiles-%{commit}
%build
%install
rm -rf needs_work TODO
install -d -p -m 755 %{buildroot}%{_datadir}/%{name}
for d in ansible busybox dhcpd firefox haskell libvirt mariadb mongodb nginx \
postgres rabbitmq registry ssh apache couchdb Django flask jenkins \
memcached mysql nodejs python ruby systemd bind cups earthquake hadoop \
lapis lighttpd mesos owncloud qpid redis squid wordpress; do
if [ -f $d/LICENSE* ]
then
mv $d/LICENSE* ./LICENSE-$d
fi
cp -pav $d %{buildroot}%{_datadir}/%{name}
done
%files
%defattr(-,root,root,-)
%doc LICENSE-* README.md
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/*
%{_datadir}/%{name}/*
%changelog
* Sat Mar 28 2015 Aditya Patawari <adimania@fedoraproject.org> - 0-0.14.git
- update to master commit: bd5429fd4f00161b41a1dd77b9535d8a94739d9b
* Fri Dec 12 2014 Aditya Patawari <adimania@fedoraproject.org> - 0-0.13.git
- more dockerfiles
- fixing the upstream to the official fedora-cloud account
* Wed Sep 10 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.12.git
- update to master commit: f6cd84c2454208c8e0ba8c207f5eaaca37933b70
- preserve timestamps while copying files over
* Sat Aug 16 2014 Aditya Patawari <adimania@fedoraproject.org> - 0-0.11.git
- we don't want debug package since it is noarch
* Sat Aug 16 2014 Aditya Patawari <adimania@fedoraproject.org> - 0-0.10.git
- fixing the source file with a version bump
* Sat Aug 16 2014 Aditya Patawari <adimania@fedoraproject.org> - 0-0.9.git
- more dockerfiles with bugfixes
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.git122ef5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 01 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.7.git
- archful as per docker-io
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.6.git122ef5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Apr 12 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.5.git
- require docker-io
* Sat Apr 12 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.4.git
- include bind, earthquake, hadoop, lighttpd, python, qpid, redis, registry
* Wed Feb 19 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.3.git7753bdf
- own main package directory
* Tue Feb 11 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.2.git7753bdf
- use a loop to install stuff
- include firefox and nodejs
- install separate license for each program
* Tue Jan 14 2014 Lokesh Mandvekar <lsm5@redhat.com> 0-0.1.git202887b
- Initial fedora package