]> git.pld-linux.org Git - packages/gazpacho.git/commitdiff
- new
authorwolf <wolf@pld-linux.org>
Thu, 8 Sep 2005 15:43:19 +0000 (15:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gazpacho.spec -> 1.1

gazpacho.spec [new file with mode: 0644]

diff --git a/gazpacho.spec b/gazpacho.spec
new file mode 100644 (file)
index 0000000..e9a720e
--- /dev/null
@@ -0,0 +1,70 @@
+Summary:       Building Interfaces the easy way
+Summary(pl):   Tworzenie interfejsów w ³atwy sposób
+Name:          gazpacho
+Version:       0.6.2
+Release:       1
+License:       LGPL
+Group:         Development/Building
+Source0:       http://ftp.acc.umu.se/pub/GNOME/sources/gazpacho/0.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 64311aa9688c456838903b3777703981
+URL:           http://gazpacho.sicem.biz/
+BuildRequires: python-devel
+Requires:      python-pygtk-gtk >= 1:2.6.0
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautocompressdoc      AUTHORS CONTRIBUTORS COPYING
+
+%description
+This program allows you to create the Graphical User Interface (GUI)
+of your GTK+ program in a visual way. It started as a Glade-3 clone
+but now it is more complete and featured than its ancestor. It tries
+to be compatible with libglade but it can handle some widgets that
+still lack support in libglade.
+
+%description -l pl
+Ten program pozwala tworzyæ graficzny interfejs u¿ytkownika (GUI) dla
+programów GTK+ w sposób wizualny. Z pocz±tku by³ klonem Glade-3, ale w
+chwili obecnej jest bardziej zaawansowany od swojego przodka. Gazpacho
+stara siê byæ kompatybilnym z libglade, choæ zawiera kilka kontrolek
+wci±¿ nie wspieranych przez libglade.
+
+%prep
+%setup -q
+
+sed -i -e "s/from gazpacho import application//" \
+       -e "s/application.__version__/'%{version}'/" \
+       setup.py
+
+sed -i -e "s@return self._variables\['docs_dir'\]\[0\]@return '/usr/share/doc/%{name}-%{version}/'@" gazpacho/environ.py
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python setup.py install \
+       --optimize=2 \
+       --root $RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/gazpacho -name '*.py' -exec rm -f {} \;
+
+%find_lang %{name}
+
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+# do not remove COPYING -- needed at runtime
+%doc AUTHORS COPYING CONTRIBUTORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/gazpacho
+%{py_sitescriptdir}/gazpacho
+%{_desktopdir}/*
+%{_examplesdir}/%{name}-%{version}
This page took 0.061488 seconds and 4 git commands to generate.