SPECS: python-kiwi.spec (NEW) - new, stolen from FC

czarny czarny at pld-linux.org
Thu Apr 5 16:25:31 CEST 2007


Author: czarny                       Date: Thu Apr  5 14:25:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, stolen from FC

---- Files affected:
SPECS:
   python-kiwi.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-kiwi.spec
diff -u /dev/null SPECS/python-kiwi.spec:1.1
--- /dev/null	Thu Apr  5 16:25:31 2007
+++ SPECS/python-kiwi.spec	Thu Apr  5 16:25:25 2007
@@ -0,0 +1,121 @@
+# $Revision$, $Date$
+# TODO:
+# - doublecheck this, as almost raw stolen from FC
+#
+%define		module	kiwi
+Summary:	Framework for Python GUI applications
+Summary(pl.UTF-8):	Szkielet do budowania GUI w Pythonie
+Name:		python-%{module}
+Version:	1.9.14
+Release:	0.1
+License:	LGPL
+Group:		Development/Libraries
+Source0:	http://download.gnome.org/sources/kiwi/1.9/%{module}-%{version}.tar.bz2
+# Source0-md5:	4779754c73e70cdd7c23e025a1830eb7
+URL:		http://www.async.com.br/projects/kiwi/
+BuildRequires:	python-devel
+BuildRequires:	python-pygtk-devel >= 2.8
+BuildRequires:	gettext
+BuildRequires:	pkgconfig
+Requires:	python-pygtk >= 2.8
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+
+%description
+Kiwi consists of a set of classes and wrappers for PyGTK that were
+developed to provide a sort of framework for applications. Fully
+object-oriented, and roughly Smalltalk's MVC, Kiwi provides a simple,
+practical way to build forms, windows and widgets that transparently
+access and display your object data.
+
+%description -l pl.UTF-8
+Kiwi składa się ze zbioru klas i wrapperów dla PyGTK które zostały
+napisane by dostarczać pewnego rodzaju framework dla aplikacji. W
+pełni zorientowane obiektowo i zgrubsza zainspirowane MVC w Small-
+talku, Kiwi dostarcza prosty i praktyczny sposób do budowania
+formatek, okienek i kontrolek które w przezroczysty sposób pobierają i
+wyś- wietlają twoja dane.
+
+%package gazpacho
+Summary:	Gazpacho integration for kiwi
+Summary(pl.UTF-8):	Integracja Gazpacho dla kiwi
+Group:		Development/Libraries
+Requires:	gazpacho >= 0.6.6
+Requires:	%{name} = %{version}-%{release}
+
+%description gazpacho
+This package contains additional files necessary for integration with
+Gazpacho glade editor.
+
+%description gazpacho -l pl.UTF-8
+Ta paczka zawiera dodatkowe pliki koniecznie dla integracji z edytorem
+plików glade Gazpacho.
+
+%package docs
+Summary:	Documentation related to python-kiwi
+Summary(pl.UTF-8):	Dokumentacja związana z python-kiwi
+Group:		Documentation
+Requires:	%{name} = %{version}-%{release}
+
+%description docs
+This package contains documentation that contains APIs and related
+materials, useful for reference when writing software using Kiwi.
+
+%description docs -l pl.UTF-8
+Ta paczka zawiera dokumentacje która zawiera API i związane z nim
+materiały, użyteczne podczas pisania oprogramowania używającego Kiwi.
+
+%prep
+%setup -q -n %{module}-%{version}
+sed -i -e 's|share/doc/kiwi|share/doc/%{name}-%{version}|' setup.py
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+# The install script mis-guesses where gazpacho is installed on
+# non-x86 platforms
+if [ "%{python_sitearch}" != "%{py_sitedir}" ]; then
+    mv $RPM_BUILD_ROOT%{python_sitearch}/gazpacho \
+        $RPM_BUILD_ROOT%{py_sitedir}/
+fi
+
+%{find_lang} kiwi
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f kiwi.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README NEWS
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/kiwi
+%{py_sitescriptdir}/kiwi
+
+%files gazpacho
+%defattr(644,root,root,755)
+%doc COPYING
+%{py_sitescriptdir}/gazpacho/widgets/*
+%{_datadir}/gazpacho/catalogs/*
+%{_datadir}/gazpacho/resources/*
+
+%files docs
+%defattr(644,root,root,755)
+%doc COPYING doc/* examples
+
+%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/05 14:25:25  czarny
+- new, stolen from FC
+
================================================================


More information about the pld-cvs-commit mailing list