|
@@ -1,13 +1,13 @@
|
|
|
Name: moonshiner
|
|
|
-Version: 1.0
|
|
|
-Release: 5%{?_dist_release}
|
|
|
+Version: 1.1
|
|
|
+Release: 1.svn20120315%{?_dist_release}
|
|
|
Summary: graphical frontend for Ghostscript's PostScript-to-PDF converter
|
|
|
Summary(ja): Ghostscript を使い Postscript から PDF へ変換するためのグラフィカルフロントエンド
|
|
|
|
|
|
Group: Applications/Publishing
|
|
|
License: GPLv3+
|
|
|
URL: http://moonshiner.sourceforge.net/
|
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
|
+Source0: %{name}-%{version}svn.tar.gz
|
|
|
Source1: %{name}.desktop
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
@@ -16,8 +16,9 @@ Requires: python >= 2.5
|
|
|
Requires: pygtk2 >= 2.10
|
|
|
Requires: ghostscript >= 8.60
|
|
|
|
|
|
-BuildRequires: desktop-file-utils
|
|
|
-BuildRequires: python-devel
|
|
|
+BuildRequires: gettext
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
+BuildRequires: python-devel
|
|
|
|
|
|
%description
|
|
|
Moonshiner is a graphical frontend (GUI) for Ghostscript's
|
|
@@ -28,7 +29,7 @@ Moonshiner は Ghostscript を使い Postscript から PDF へ変換するため
|
|
|
グラフィカルフロントエンドです。
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
+%setup -qn %{name}-%{version}svn
|
|
|
|
|
|
%build
|
|
|
python setup.py build
|
|
@@ -40,6 +41,8 @@ python setup.py install --skip-build --root %{buildroot}
|
|
|
desktop-file-install \
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
|
|
|
|
|
|
+%find_lang %{name}
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
@@ -53,15 +56,21 @@ touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
update-desktop-database %{_datadir}/applications
|
|
|
|
|
|
-%files
|
|
|
+%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc LICENSE CHANGES README PKG-INFO
|
|
|
%doc %{_docdir}/%{name}/*
|
|
|
%{_bindir}/%{name}
|
|
|
-%{_libdir}/python2.*/site-packages/*
|
|
|
+%{python_sitelib}/*
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
+%{_datadir}/icons/hicolor/
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jul 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-1.svn20120315
|
|
|
+- new usprtream snapshot
|
|
|
+- added BuildRequires: gettext
|
|
|
+- used %%{python_sitelib} in %%files
|
|
|
+
|
|
|
* Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-5
|
|
|
- added BuildRequires: python-devel
|
|
|
|