diff --git a/pifpaf-1.1.0.tar.gz b/pifpaf-1.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..48acfae13b2ada1ce6e4c1ecbb20659c3c125ba6 Binary files /dev/null and b/pifpaf-1.1.0.tar.gz differ diff --git a/python-pifpaf.spec b/python-pifpaf.spec new file mode 100644 index 0000000000000000000000000000000000000000..2d1844b054c4d6bddf6444cea4a39f880b524e6c --- /dev/null +++ b/python-pifpaf.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pifpaf +Version: 1.1.0 +Release: 1 +Summary: Suite of tools and fixtures to manage daemons for testing +License: Apache-2.0 +URL: https://github.com/jd/pifpaf +Source0: https://files.pythonhosted.org/packages/8e/a2/b89bd8a56c26307cb409fbb2558e529a9a5e5e6ae613f458173034f2465c/pifpaf-1.1.0.tar.gz +BuildArch: noarch +%description + Pifpaf is a suite of fixtures and a command-line tool that allows to start and +stop daemons for a quick throw-away usage. This is typically useful when needing +these daemons to run integration testing. It originaly evolved from its +precussor overtest... _fixtures: .. _overtest: daemons Pifpaf currently +supports:PostgreSQL MySQL Memcached InfluxDB Etcd (with clustering) Redis (with +sentinel mode) Elasticsearch ZooKeeper Gnocchi Aodh Ceph RabbitMQ (with +clustering) FakeS3 Consul Keystone CouchDB S3rver MongoDB OpenStack Swift. + +%package -n python2-pifpaf +Summary: Suite of tools and fixtures to manage daemons for testing +Provides: python2-pifpaf +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-pifpaf + Pifpaf is a suite of fixtures and a command-line tool that allows to start and +stop daemons for a quick throw-away usage. This is typically useful when needing +these daemons to run integration testing. It originaly evolved from its +precussor overtest... _fixtures: .. _overtest: daemons Pifpaf currently +supports:PostgreSQL MySQL Memcached InfluxDB Etcd (with clustering) Redis (with +sentinel mode) Elasticsearch ZooKeeper Gnocchi Aodh Ceph RabbitMQ (with +clustering) FakeS3 Consul Keystone CouchDB S3rver MongoDB OpenStack Swift. + +%package help +Summary: Development documents and examples for pifpaf +Provides: python2-pifpaf-doc +%description help + Pifpaf is a suite of fixtures and a command-line tool that allows to start and +stop daemons for a quick throw-away usage. This is typically useful when needing +these daemons to run integration testing. It originaly evolved from its +precussor overtest... _fixtures: .. _overtest: daemons Pifpaf currently +supports:PostgreSQL MySQL Memcached InfluxDB Etcd (with clustering) Redis (with +sentinel mode) Elasticsearch ZooKeeper Gnocchi Aodh Ceph RabbitMQ (with +clustering) FakeS3 Consul Keystone CouchDB S3rver MongoDB OpenStack Swift. + +%prep +%autosetup -n pifpaf-1.1.0 + +%build +%py2_build + +%install +%py2_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python2-pifpaf -f filelist.lst +%dir %{python2_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue May 11 2021 OpenStack_SIG +- Package Spec generated