source: projects/specs/trunk/m/mcomix/mcomix-vl.spec @ 8923

Revision 8923, 4.3 KB checked in by kudoh, 10 years ago (diff)

rebuilt and initial commit

RevLine 
[3838]1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
[2159]3Summary:        customizable image viewer that specifically designed to handle comic books
4Summary(ja):    漫画向けに特化してデザインされたカスタム可能なイメージビューワ
5Name:           mcomix
[7639]6Version:        1.00
[8923]7Release:        2%{?_dist_release}
[3838]8Source0:        mcomix-%{version}.tar.bz2
[6018]9#Source1:       mcomix_ja.po
[2159]10
[3838]11License:        GPLv2
[2159]12Group:          Applications/Graphics
[3838]13URL:            http://mcomix.sourceforge.net/
[2159]14
15Requires:       pygtk2 >= 2.12, python-imaging >= 1.1.5, libjpeg-turbo
16Requires:       python >= 2.5
[4746]17Requires:       python-chardet
18Requires:       python-setuptools
[2159]19
[6576]20BuildRequires: python  >= 2.5
21BuildRequires: python-devel
22BuildRequires: python-setuptools
23BuildRequires: pygtk2-devel python-imaging
24BuildRequires: gettext
[3838]25BuildRoot: %{_tmppath}/%{name}-%{version}-root
26BuildArch: noarch
[2159]27
[4746]28Vendor: Project Vine
29Distribution: Vine Linux
30Packager: kudoh
31
[2159]32%description
33MComix is a user-friendly, customizable image viewer. It is specifically
34designed to handle comic books, but also serves as a generic viewer. It
35reads images in ZIP, RAR or tar archives as well as plain image files.
36It is written in Python and uses GTK+ through the PyGTK bindings.
37
38%description -l ja
39MComix はユーザーフレンドリでカスタマイズ可能なイメージビューワです。
40このビューワは漫画を読むのに特化してデザインされていますが、一般的な画像
41ビューワとしても利用できます。
42通常のイメージファイルと同様に、ZIP、RAR または tar (gzip 及び bzip2 で圧縮
43されたものも含む) アーカイブ中のイメージも読み込めます。
44Python で書かれており、PyGTK バインディングを通じて GTK+ を使用しています。
45
46%prep
47
[3838]48%setup -qn mcomix-%{version}
[6018]49#%{__cp} -f %{SOURCE1} mcomix/messages/ja/LC_MESSAGES/mcomix.po
50#msgfmt -o mcomix/messages/ja/LC_MESSAGES/mcomix.mo mcomix/messages/ja/LC_MESSAGES/mcomix.po
[2159]51
52%install
53%{__rm} -rf ${RPM_BUILD_ROOT}
54
[3838]55%{__python} setup.py install --single-version-externally-managed --root=$RPM_BUILD_ROOT
[2159]56
57%clean
58%{__rm} -rf ${RPM_BUILD_ROOT}
59
60%post
[2205]61touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
[2159]62
63
64%postun
[2205]65if [ $1 -eq 0 ] ; then
66        touch --no-create %{_datadir}/icons/hicolor &>/dev/null
67        gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
68fi
[2159]69
[2205]70%posttrans
71gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
[2159]72
[2205]73
[3838]74%files
[2159]75%defattr(-,root,root)
[3838]76%doc ChangeLog README
[2159]77%{_bindir}/%{name}
78%{_datadir}/applications/%{name}.desktop
79%{_datadir}/icons/hicolor/
[3838]80%{_datadir}/mime/packages/%{name}.xml
81%{_mandir}/man1/*.1.gz
82%{python_sitelib}/*
[2159]83
84%changelog
[8923]85* Sat Aug 30 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.00-2
86- rebuilt with current environment
87
[7639]88* Mon Apr 29 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.00-1
89- new upstream release
90
[6576]91* Sun Jul 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.99-1
92- new upstream release
93
[6018]94* Wed Apr 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.98-1
95- new upstream release
96- dropt source1 to merge upstream
97
[5786]98* Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.97.1-1
99- new upstream release
100- updated source1
101
[5408]102* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.96-2
103- rebuilt
104  - forgot using newer spec..
105
[5392]106* Wed Jan 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.96-1
107- new upstream release
108- added BuildRequires: python-devel
109- updated source1
110
[4841]111* Wed Sep 28 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.94-1
112- new upstream release
113
[4746]114* Sat Sep 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.93-1
115- new upstream release
116- added Requires: python-chardet, python-setuptools
117- added Vendor/Distribution/Packager tag
118
[4311]119* Sun Jul 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.92-2
120- updated source1
121
[4308]122* Sat Jul 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.92-1
123- new upstream release
124- replaced source1
125
[3932]126* Sun May 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.91-2
127- added BuildRequires:  python-setuptools
128
[3838]129* Wed May 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.91-1
130- new upstream release
131- changed Lisence tag
132  - applied to GPLv2
133- changed URL
134- changed BuildArch to noarch
135
[2205]136* Sun Nov 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-2
137- updated source1
138- probed %%post and %%postun
139  - added %%posttrans
140
[2159]141* Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-1
142- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.