summaryrefslogtreecommitdiff
path: root/python-conan-sword-and-sorcery.spec
blob: 093840c6777a4cc142ff85c13e5668587f8b85d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
%global _empty_manifest_terminate_build 0
Name:		python-conan_sword_and_sorcery
Version:	0.0.dev134
Release:	1
Summary:	Utilities to work with conan.io stuf
License:	MIT
URL:		https://gitlab.com/jgsogo/conan-sword-and-sorcery
Source0:	https://mirrors.aliyun.com/pypi/web/packages/35/c9/53ca9e5ae6b5b8b6649cc03097055a2f6dad3a5f3c1a059d48b2a8b35c4d/conan_sword_and_sorcery-0.0.dev134.tar.gz
BuildArch:	noarch


%description
[![coverage](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/coverage.svg?job=coverage)](http://jgsogo.gitlab.io/conan-sword-and-sorcery/)
[![pipeline](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/pipeline.svg)](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master)
> **Status**: beta version. Under development
Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed
following tasks for your conan recipes:
 * [Travis CI](https://travis-ci.org/) integration (with docker).
 * [Appveyor](http://www.appveyor.com/) integration.
 * Batch build for all local profiles.
This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools)
which is officially maintained by conan team.
To install, just type (or clone and install this repo):
```shell
$ pip install conan_sword_and_sorcery
```

%package -n python3-conan_sword_and_sorcery
Summary:	Utilities to work with conan.io stuf
Provides:	python-conan_sword_and_sorcery
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-conan_sword_and_sorcery
[![coverage](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/coverage.svg?job=coverage)](http://jgsogo.gitlab.io/conan-sword-and-sorcery/)
[![pipeline](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/pipeline.svg)](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master)
> **Status**: beta version. Under development
Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed
following tasks for your conan recipes:
 * [Travis CI](https://travis-ci.org/) integration (with docker).
 * [Appveyor](http://www.appveyor.com/) integration.
 * Batch build for all local profiles.
This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools)
which is officially maintained by conan team.
To install, just type (or clone and install this repo):
```shell
$ pip install conan_sword_and_sorcery
```

%package help
Summary:	Development documents and examples for conan_sword_and_sorcery
Provides:	python3-conan_sword_and_sorcery-doc
%description help
[![coverage](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/coverage.svg?job=coverage)](http://jgsogo.gitlab.io/conan-sword-and-sorcery/)
[![pipeline](https://gitlab.com/jgsogo/conan-sword-and-sorcery/badges/master/pipeline.svg)](https://gitlab.com/jgsogo/conan-sword-and-sorcery/commits/master)
> **Status**: beta version. Under development
Utilities for [Conan The Frogarian](https://conan.io). At this moment it addressed
following tasks for your conan recipes:
 * [Travis CI](https://travis-ci.org/) integration (with docker).
 * [Appveyor](http://www.appveyor.com/) integration.
 * Batch build for all local profiles.
This project is just a refurbish of [conan-package-tools](https://github.com/conan-io/conan-package-tools)
which is officially maintained by conan team.
To install, just type (or clone and install this repo):
```shell
$ pip install conan_sword_and_sorcery
```

%prep
%autosetup -n conan_sword_and_sorcery-0.0.dev134

%build
%py3_build

%install
%py3_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 python3-conan_sword_and_sorcery -f filelist.lst
%dir %{python3_sitelib}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.dev134-1
- Package Spec generated