diff --git a/kyclassifier.spec b/kyclassifier.spec new file mode 100644 index 0000000000000000000000000000000000000000..69cbc41a3d35d8efbe89828f894e79db9496ec8f --- /dev/null +++ b/kyclassifier.spec @@ -0,0 +1,36 @@ +Name: kyclassifier +Version: 1.0 +Release: 0 +Summary: Use for analyzes layers and categories inforamtion of packages in openEuler. +License: Mulan PSL v2 +Source0: kyclassifier-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3 + +Requires: python3 + +%description +Use for analyzes layers and categories inforamtion of packages in openEuler. + +%prep +%setup -q + +%install +# kyclassifier install +rm -rf %{buildroot}/* +mkdir -p %{buildroot}/opt/kyclassifier +mv main.py %{buildroot}/opt/kyclassifier + +%files +%doc NOTICE LICENSES +/opt/kyclassifier/main.py +%exclude /opt/kyclassifier/__pycache__ + +%clean +rm -rf %{buildroot} +rm -rf %{_builddir}/* + + +%changelog +* Fri Aug 09 2024 Sheng Ding -1.0-0 +- Initial spec. \ No newline at end of file