[packages/python-Pivy] cleanups, fill desc/summary/license
glen
glen at pld-linux.org
Sat Jun 13 14:21:02 CEST 2015
commit 95ddf35e0e07dcc8d2af2d494282d9f6aa45286c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jun 13 15:20:46 2015 +0300
cleanups, fill desc/summary/license
python-Pivy.spec | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/python-Pivy.spec b/python-Pivy.spec
index 552fa89..c483dc8 100644
--- a/python-Pivy.spec
+++ b/python-Pivy.spec
@@ -4,7 +4,7 @@ Summary(pl.UTF-8): Pythonowy interfejs do biblioteki Coin
Name: python-%{module}
Version: 0.5.0
Release: 0.20110922.1
-License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+License: ISC
Group: Development/Languages/Python
# Source0: http://pivy.coin3d.org/download/pivy/releases/%{version}/%{module}-%{version}.tar.bz2
Source0: ftp://ftp.debian.org/debian/pool/main/p/pivy/pivy_%{version}~v609hg.orig.tar.bz2
@@ -27,11 +27,14 @@ Requires: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-
-%description -l pl.UTF-8
+Pivy is a Coin binding for Python. Coin is a high-level 3D graphics library with
+a C++ Application Programming Interface. Coin uses scene-graph data structures
+to render real-time graphics suitable for mostly all kinds of scientific and
+engineering visualization applications.
%prep
-%setup -q -n default-8eab90908f2a
+%setup -qc
+mv default-*/* .
%build
export CFLAGS="%{rpmcflags}"
@@ -41,11 +44,9 @@ export CFLAGS="%{rpmcflags}"
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install \
--optimize=2 \
- --root=$RPM_BUILD_ROOT \
- --install-lib=%{py_sitedir}
-
+ --install-lib=%{py_sitedir} \
+ --root=$RPM_BUILD_ROOT
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
%py_postclean
@@ -56,10 +57,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README THANKS
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
-# %{py_sitedir}/*.py[co]
-# %attr(755,root,root) %{py_sitedir}/*.so
%{py_sitedir}/pivy
-%if "%{py_ver}" > "2.4"
%{py_sitedir}/%{module}-*.egg-info
-%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-Pivy.git/commitdiff/95ddf35e0e07dcc8d2af2d494282d9f6aa45286c
More information about the pld-cvs-commit
mailing list