diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:03:28 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:03:28 +0000 |
| commit | d5d5e7512e0bae2f6f9142f4f5f2c384d760ade8 (patch) | |
| tree | 5bb6cbac4142d4c33a6c4c357d4884d342012d20 /python-babel-vue-extractor.spec | |
| parent | 45e12f52183a263d6cf054603b9132893c57d29d (diff) | |
automatic import of python-babel-vue-extractor
Diffstat (limited to 'python-babel-vue-extractor.spec')
| -rw-r--r-- | python-babel-vue-extractor.spec | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/python-babel-vue-extractor.spec b/python-babel-vue-extractor.spec new file mode 100644 index 0000000..8487d56 --- /dev/null +++ b/python-babel-vue-extractor.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-babel-vue-extractor +Version: 1.4.3 +Release: 1 +Summary: A plugin for babel to work with vue.js templates +License: Apache Software License +URL: https://github.com/nonamenix/babel-vue-extractor +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/49/e2/926f3546575c6b0f2d7664c0ff173d501eedf5e6f04e81594b967310b2d0/babel-vue-extractor-1.4.3.tar.gz +BuildArch: noarch + +Requires: python3-babel +Requires: python3-six +Requires: python3-check-manifest +Requires: python3-nose +Requires: python3-coverage + +%description +|Build Status| |Coverage Status| +Babel messages extractor for vue.js templates. +*vue.js* — Reactive Components for Modern Web Interfaces. Site: +http://vuejs.org/. +*Babel* — Internationalization library for Python. Site: +http://babel.pocoo.org/. + +%package -n python3-babel-vue-extractor +Summary: A plugin for babel to work with vue.js templates +Provides: python-babel-vue-extractor +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-babel-vue-extractor +|Build Status| |Coverage Status| +Babel messages extractor for vue.js templates. +*vue.js* — Reactive Components for Modern Web Interfaces. Site: +http://vuejs.org/. +*Babel* — Internationalization library for Python. Site: +http://babel.pocoo.org/. + +%package help +Summary: Development documents and examples for babel-vue-extractor +Provides: python3-babel-vue-extractor-doc +%description help +|Build Status| |Coverage Status| +Babel messages extractor for vue.js templates. +*vue.js* — Reactive Components for Modern Web Interfaces. Site: +http://vuejs.org/. +*Babel* — Internationalization library for Python. Site: +http://babel.pocoo.org/. + +%prep +%autosetup -n babel-vue-extractor-1.4.3 + +%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-babel-vue-extractor -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.3-1 +- Package Spec generated |
