source: projects/specs/trunk/z/zphoto/zphoto-vl.spec @ 521

Revision 521, 2.8 KB checked in by daisuke, 11 years ago (diff)

import VineSeed package specs

Line 
1Name:           zphoto
2Version:        1.2
3Release:        2%{?_dist_release}
4License:        LGPL
5BuildRoot:      %{_tmppath}/%{name}-%{version}-root
6URL:            http://www.namazu.org/~satoru/zphoto/
7Source0:        %{name}-%{version}.tar.gz
8Source1:        %{name}.desktop
9#Patch0:         zphoto-1.2-wxgtk26.patch
10Summary:        a flash-based photo album generator
11Summary(ja):    Flash ベースのアルバムを作るツール
12Group:          Applications/Multimedia
13
14Requires: imlib2, ming, zip
15#Requires: wx-gtk2, libgcc
16BuildRequires: imlib2-devel, ming, popt, gcc-c++
17#BuildRequires: imlib2-devel, ming, popt, wx-gtk2-devel, gcc-c++
18
19%description
20zphoto is a flash-based photo album generator. You can create
21a flash-based on-line album from photos taken by a digital camera.
22
23%description -l ja
24zphoto は Flash ベースのフォトアルバムを作るツールです。デジカメ写真
25から Flash を用いたフォトアルバム (オンラインアルバム) を簡単に作成
26できます。
27
28%prep
29%setup -q
30#patch0 -p1 -b .wxgtk26
31
32%build
33%configure --disable-wx
34make
35
36%install
37[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
38
39%makeinstall
40
41[ -d "./zphoto-doc" ] && rm -rf ./zphoto-doc
42mv $RPM_BUILD_ROOT%{_datadir}/zphoto/doc ./zphoto-doc
43
44# install icon and .desktop files
45# mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/zphoto
46# mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
47# /usr/bin/install -m644 ./icon/wxzphoto* \
48#     $RPM_BUILD_ROOT%{_datadir}/pixmaps/zphoto
49# /usr/bin/install -m644 %{SOURCE1} \
50#     $RPM_BUILD_ROOT%{_datadir}/applications
51
52%find_lang %{name}
53
54%clean
55[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
56
57%files -f %{name}.lang
58%defattr(-, root, root, 755)
59%doc AUTHORS COPYING ChangeLog NEWS README zphoto-doc/*
60%{_bindir}/zphoto
61#{_bindir}/wxzphoto
62#{_datadir}/applications/%{name}.desktop
63#{_datadir}/pixmaps/zphoto
64%{_datadir}/zphoto
65
66%changelog
67* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-2vl5
68- rebuilt with ming-0.4.2
69- spec in utf-8
70
71* Tue May  6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-1vl5
72- removed wxzphoto (for wxWidgets compatibity)
73
74* Sun Jun  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl3
75- rebuilt with new toolchain
76
77* Wed Jul 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl2
78- rebuild with wx-gtk 2.6
79- added Patch0 to build with wx-gtk 2.6
80
81* Fri Aug 13 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl1
82- new upstream release
83- added zphoto.desktop
84- added Requires: libgcc, BuildRequires: gcc-c++
85
86* Wed Jun  9 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl3
87- fixed Group
88
89* Sat May 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl2
90- added BuildReqires: wx-gtk2-devel, Requires: wx-gtk2 for wxzphoto
91
92* Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl1
93- Initial spec file :-)
94- added Japanese summary and description
Note: See TracBrowser for help on using the repository browser.