SPECS: pykdeextensions.spec (NEW) - Initial version.
matkor
matkor at pld-linux.org
Thu Apr 19 11:09:13 CEST 2007
Author: matkor Date: Thu Apr 19 09:09:12 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Initial version.
---- Files affected:
SPECS:
pykdeextensions.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/pykdeextensions.spec
diff -u /dev/null SPECS/pykdeextensions.spec:1.1
--- /dev/null Thu Apr 19 11:09:12 2007
+++ SPECS/pykdeextensions.spec Thu Apr 19 11:09:07 2007
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+# TODO:
+# - split to devel static examples packages
+# - fix KDE HTML docs packaging
+Summary: Collection of software and Python packages to support the creation and installation of KDE applications
+Summary(pl.UTF-8): Zbiór oprogramowania i pakietów Pythona wspierających tworzenie i instalacje aplikacji KDE.
+Name: pykdeextensions
+Version: 0.4.0
+Release: 0.1
+License: GPL
+Group: Development/Languages/Python
+Source0: http://www.simonzone.com/software/pykdeextensions/%{name}-%{version}.tar.gz
+# Source0-md5: 5249c7288c1b2bed44a2d91111d3313a
+URL: http://www.simonzone.com/software/pykdeextensions/#introduction
+BuildRequires: python-devel
+BuildRequires: python-modules >= 2.2.1
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyKDE Extensions is a collection of software and Python packages to
+support the creation and installation of KDE applications.
+
+%description -l pl.UTF-8
+PyKDE Extensions jest zbiorem oprogramowania i pakietów Pythona
+wspierających tworzenie i instalacje aplikacji KDE.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1}
+
+python setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+# install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+# install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+#%{py_scriptdir}/site-packages/*.py[co]
+%{py_sitescriptdir}/*.py[co]
+# app_templates -> examples / docs ?
+%{_datadir}/apps/%{name}
+
+
+#%files devel
+#%defattr(644,root,root,755)
+#%doc devel-doc/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/pythonize.h
+%{_libdir}/lib*.la
+
+#%files static
+#%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+
+
+#%doc ChangeLog TODO README examples/* doc/*.txt
+#%attr(755,root,root) %{_bindir}/pylint
+#%attr(755,root,root) %{_bindir}/symilar
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pylintrc
+#%{py_sitescriptdir}/*
+#%{_mandir}/man1/*
+
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/04/19 09:09:07 matkor
+- Initial version.
+
================================================================
More information about the pld-cvs-commit
mailing list