diff --git a/.gitignore b/.gitignore index 0f3c1ad..45753cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ gummi-0.4.8.tar.gz /gummi-0.5.0.tar.gz +/gummi-0.5.3.tar.gz diff --git a/gummi.spec b/gummi.spec index 0821ddf..fd4a558 100644 --- a/gummi.spec +++ b/gummi.spec @@ -1,32 +1,21 @@ -%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%endif - Name: gummi -Version: 0.5.0 +Version: 0.5.3 Release: 1%{?dist} Summary: A simple LaTeX editor Group: Applications/Publishing License: MIT URL: http://gummi.midnightcoding.org -Source0: http://dev.midnightcoding.org/redmine/attachments/download/62/%{name}-%{version}.tar.gz +Source0: http://dev.midnightcoding.org/redmine/attachments/download/90/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: gtk2-devel +BuildRequires: gtksourceview2-devel +BuildRequires: poppler-glib-devel +BuildRequires: gtkspell-devel +BuildRequires: intltool BuildRequires: desktop-file-utils -Requires: gtk2 -Requires: gnome-python2-extras -Requires: pygtksourceview -Requires: pango -Requires: gtkspell -Requires: tex(latex) -Requires: pypoppler - %description Gummi is a LaTeX editor written in the Python programming language using @@ -36,16 +25,17 @@ user in mind, but also offers features that speak to the more advanced user. %prep %setup -q -sed -i -e '/^#!\//, 1d' gummi/*.py %build -%{__python} setup.py build +%configure +make %{?_smp_mflags} %install rm -rf %{buildroot} -%{__python} setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix} +make install DESTDIR=%{buildroot} INSTALL="install -p" +%find_lang %{name} desktop-file-install \ --remove-key="Version" \ --add-category="Publishing;" \ @@ -57,20 +47,29 @@ desktop-file-install \ rm -rf %{buildroot} -%files +%files -f %{name}.lang %defattr(-,root,root,-) -%doc README gummi/docs/LICENSE gummi/docs/CHANGES -%{_mandir}/man*/*.* +%doc AUTHORS ChangeLog COPYING README +%{_mandir}/man*/*.1* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png -%{python_sitelib}/%{name}/ -%{python_sitelib}/%{name}*.egg-info - +%{_datadir}/%{name}/ %changelog +* Mon Nov 01 2010 Fabian Affolter - 0.5.3-1 +- BRs adjusted +- Updated to new upstream version 0.5.3 + +* Sat Oct 23 2010 Fabian Affolter - 0.5.2-1 +- Updated to new upstream version 0.5.2 + +* Sun Oct 10 2010 Fabian Affolter - 0.5.1-1 +- Updated to new upstream version 0.5.1 + * Sat Sep 25 2010 Fabian Affolter - 0.5.0-1 - New BRs added +- It's no longer a python package, no longer noarch - Updated to new upstream version 0.5.0 * Wed Jul 21 2010 David Malcolm - 0.4.8-2 diff --git a/sources b/sources index b03ea2f..c9e8eca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -863bd36cf67b40a07290f2086a22a665 gummi-0.5.0.tar.gz +e9c9666fd7eae5e30bc40dd9478bc155 gummi-0.5.3.tar.gz