summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:03:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:03:28 +0000
commitd5d5e7512e0bae2f6f9142f4f5f2c384d760ade8 (patch)
tree5bb6cbac4142d4c33a6c4c357d4884d342012d20
parent45e12f52183a263d6cf054603b9132893c57d29d (diff)
automatic import of python-babel-vue-extractor
-rw-r--r--.gitignore1
-rw-r--r--python-babel-vue-extractor.spec92
-rw-r--r--sources1
3 files changed, 94 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3e877cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/babel-vue-extractor-1.4.3.tar.gz
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
diff --git a/sources b/sources
new file mode 100644
index 0000000..ca85875
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2d254ea0a80a9215ccfa7177106794ac babel-vue-extractor-1.4.3.tar.gz