source: projects/specs/trunk/m/moonshiner/moonshiner-vl.spec @ 8167

Revision 8167, 2.6 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuild

Line 
1Name:           moonshiner
2Version:        1.1
3Release:        2.svn20120315%{?_dist_release}
4Summary:        graphical frontend for Ghostscript's PostScript-to-PDF converter
5Summary(ja):    Ghostscript を使い Postscript から PDF へ変換するためのグラフィカルフロントエンド
6
7Group:          Applications/Publishing
8License:        GPLv3+
9URL:            http://moonshiner.sourceforge.net/
10Source0:        %{name}-%{version}svn.tar.gz
11Source1:        %{name}.desktop
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildArch:      noarch
14
15Requires:       python >= 2.5
16Requires:       pygtk2 >= 2.10
17Requires:       ghostscript >= 8.60
18
19BuildRequires: gettext
20BuildRequires: desktop-file-utils
21BuildRequires: python-devel
22
23%description
24Moonshiner is a graphical frontend (GUI) for Ghostscript's
25PostScript-to-PDF converter.
26
27%description -l ja
28Moonshiner は Ghostscript を使い Postscript から PDF へ変換するための
29グラフィカルフロントエンドです。
30
31%prep
32%setup -qn %{name}-%{version}svn
33
34%build
35python setup.py build
36
37%install
38rm -rf %{buildroot}
39python setup.py install --skip-build --root %{buildroot}
40
41desktop-file-install \
42        --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
43
44%find_lang %{name}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post
50touch --no-create %{_datadir}/icons/hicolor || :
51%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
52update-desktop-database %{_datadir}/applications
53
54%postun
55touch --no-create %{_datadir}/icons/hicolor || :
56%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
57update-desktop-database %{_datadir}/applications
58
59%files -f %{name}.lang
60%defattr(-,root,root,-)
61%doc LICENSE CHANGES README PKG-INFO
62%doc %{_docdir}/%{name}/*
63%{_bindir}/%{name}
64%{python_sitelib}/*
65%{_datadir}/applications/*.desktop
66%{_datadir}/icons/hicolor/
67
68%changelog
69* Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1-2.svn20120315
70- rebuilt with current toolchain
71
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
77* Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-5
78- added BuildRequires: python-devel
79
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
Note: See TracBrowser for help on using the repository browser.