[521] | 1 | Name: moonshiner |
---|
[6497] | 2 | Version: 1.1 |
---|
[8167] | 3 | Release: 2.svn20120315%{?_dist_release} |
---|
[521] | 4 | Summary: graphical frontend for Ghostscript's PostScript-to-PDF converter |
---|
| 5 | Summary(ja): Ghostscript を使い Postscript から PDF へ変換するためのグラフィカルフロントエンド |
---|
| 6 | |
---|
| 7 | Group: Applications/Publishing |
---|
| 8 | License: GPLv3+ |
---|
| 9 | URL: http://moonshiner.sourceforge.net/ |
---|
[6497] | 10 | Source0: %{name}-%{version}svn.tar.gz |
---|
[521] | 11 | Source1: %{name}.desktop |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildArch: noarch |
---|
| 14 | |
---|
| 15 | Requires: python >= 2.5 |
---|
| 16 | Requires: pygtk2 >= 2.10 |
---|
| 17 | Requires: ghostscript >= 8.60 |
---|
| 18 | |
---|
[6497] | 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: desktop-file-utils |
---|
| 21 | BuildRequires: python-devel |
---|
[521] | 22 | |
---|
| 23 | %description |
---|
| 24 | Moonshiner is a graphical frontend (GUI) for Ghostscript's |
---|
| 25 | PostScript-to-PDF converter. |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | Moonshiner は Ghostscript を使い Postscript から PDF へ変換するための |
---|
| 29 | グラフィカルフロントエンドです。 |
---|
| 30 | |
---|
| 31 | %prep |
---|
[6497] | 32 | %setup -qn %{name}-%{version}svn |
---|
[521] | 33 | |
---|
| 34 | %build |
---|
| 35 | python setup.py build |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf %{buildroot} |
---|
| 39 | python setup.py install --skip-build --root %{buildroot} |
---|
| 40 | |
---|
| 41 | desktop-file-install \ |
---|
| 42 | --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} |
---|
| 43 | |
---|
[6497] | 44 | %find_lang %{name} |
---|
| 45 | |
---|
[521] | 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %post |
---|
| 50 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 51 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 52 | update-desktop-database %{_datadir}/applications |
---|
| 53 | |
---|
| 54 | %postun |
---|
| 55 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
| 56 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 57 | update-desktop-database %{_datadir}/applications |
---|
| 58 | |
---|
[6497] | 59 | %files -f %{name}.lang |
---|
[521] | 60 | %defattr(-,root,root,-) |
---|
| 61 | %doc LICENSE CHANGES README PKG-INFO |
---|
| 62 | %doc %{_docdir}/%{name}/* |
---|
| 63 | %{_bindir}/%{name} |
---|
[6497] | 64 | %{python_sitelib}/* |
---|
[521] | 65 | %{_datadir}/applications/*.desktop |
---|
[6497] | 66 | %{_datadir}/icons/hicolor/ |
---|
[521] | 67 | |
---|
| 68 | %changelog |
---|
[8167] | 69 | * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-2.svn20120315 |
---|
| 70 | - rebuilt with current toolchain |
---|
| 71 | |
---|
[6497] | 72 | * Tue Jul 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-1.svn20120315 |
---|
| 73 | - new usprtream snapshot |
---|
| 74 | - added BuildRequires: gettext |
---|
| 75 | - used %%{python_sitelib} in %%files |
---|
| 76 | |
---|
[5554] | 77 | * Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-5 |
---|
| 78 | - added BuildRequires: python-devel |
---|
| 79 | |
---|
[521] | 80 | * Fri Feb 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-4 |
---|
| 81 | - rebuilt with python-2.6.4 |
---|
| 82 | - run gtk-update-icon-cache in %post, postun |
---|
| 83 | - fixed icon path in source1 |
---|
| 84 | |
---|
| 85 | * Sat Nov 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-3 |
---|
| 86 | - fixed html helpfile include again |
---|
| 87 | - probed install process |
---|
| 88 | - dropt Patch1 |
---|
| 89 | |
---|
| 90 | * Sat Aug 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-2 |
---|
| 91 | - fixed html helpfile include |
---|
| 92 | - added Patch1 (don't require root for build) |
---|
| 93 | |
---|
| 94 | * Thu Jun 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1 |
---|
| 95 | - initial build for VineSeed |
---|