source: projects/specs/branches/6/m/meld/meld-vl.spec @ 3741

Revision 3741, 8.9 KB checked in by munepi, 13 years ago (diff)

updated meld-vl.spec

Line 
1Name:           meld
2Version:        1.5.1
3Release:        1%{?_dist_release}
4Summary:        Graphical tool to diff and merge files
5Summary(ja):    ファイルの差分表示とマージのためのグラフィカルなツール
6
7Group:          Development/Tools
8License:        GPLv2+
9URL:            http://meld.sourceforge.net/
10Source0:        http://ftp.gnome.org/pub/gnome/sources/meld/1.2/meld-%{version}.tar.bz2
11#Source1:       meld-1.3.1-ja.po
12#Patch0:                %{name}-desktop.patch
13#Patch1:                %{name}-scrollkeeper.patch
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16BuildRequires:  desktop-file-utils
17BuildRequires:  gettext
18BuildRequires:  intltool
19BuildRequires:  scrollkeeper
20BuildRequires:  perl-XML-Parser
21
22Requires:       gnome-python
23Requires:       pygtk2 >= 2.14.0
24Requires:       pygtk2-libglade
25Requires:       pygobject >= 2.14.0
26Requires:       pygtksourceview >= 2.4
27
28Requires(post): scrollkeeper
29Requires(postun): scrollkeeper
30
31BuildArch:      noarch
32
33%description
34Meld is a tool which allows the user to see the changes in, and
35merge between, either two files, two directories, or two files
36with a common ancestor.
37
38%description -l ja
39Meld は、ユーザが二つのファイル、二つのディレクトリ、または共通の祖先を
40持つ二つのファイルの差分表示およびマージを行えます。
41
42%prep
43%setup -q
44#%patch0 -p1 -b .desktop
45#%patch1 -p1 -b .scrollkeeper
46# copy updated japanese translation
47#%{__cp} %{SOURCE1} po/ja.po
48
49%build
50%__make prefix=%{_prefix} libdir=%{_datadir}
51
52
53%install
54%__rm -rf ${RPM_BUILD_ROOT}
55
56%__make prefix=%{_prefix} libdir=%{_datadir} \
57  DESTDIR=${RPM_BUILD_ROOT} install
58
59
60desktop-file-install --vendor vine \
61    --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
62    --delete-original \
63    --add-category "GTK;" \
64    ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
65
66%find_lang %{name}
67
68
69%post
70scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
71
72touch --no-create %{_datadir}/icons/hicolor
73if [ -x %{_bindir}/gtk-update-icon-cache ]; then
74  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
75fi
76update-desktop-database &> /dev/null || :
77
78
79%postun
80scrollkeeper-update -q || :
81
82touch --no-create %{_datadir}/icons/hicolor
83if [ -x %{_bindir}/gtk-update-icon-cache ]; then
84  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
85fi
86update-desktop-database &> /dev/null || :
87
88
89%clean
90%__rm -rf ${RPM_BUILD_ROOT}
91
92
93%files -f %{name}.lang
94%defattr(-,root,root,-)
95%doc AUTHORS COPYING
96%{_bindir}/%{name}
97%{_datadir}/%{name}/
98%{_datadir}/applications/vine-%{name}.desktop
99#%{_datadir}/application-registry/%{name}*
100#%{_datadir}/pixmaps/%{name}.png
101%{_datadir}/icons/hicolor/*/apps/*
102%{_datadir}/gnome/help/%{name}/
103%{_datadir}/omf/%{name}/
104
105
106%changelog
107* Sat Apr 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.5.1-1
108- new upstream release
109
110* Thu Jan 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5.0-1
111- new upstream release
112- changed BuildRequires: perl(XML::Parser) to perl-XML-Parser
113- added Requires: gnome-python, pygtksourceview >= 2.4
114- modified installing desktop file
115  - added --add-category "GTK;"
116- fixed %%files
117  disabled %%{_datadir}/pixmaps/%{name}.png
118
119* Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.0-1
120- new upstream release
121
122* Sun Jul 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.2-1
123- new upstream release
124
125* Wed Sep 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.3.1-2
126- add Source1: updated japanese translations
127
128* Sun Sep 13 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.3.1-1
129- new upstream release
130
131* Fri Jul 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-2
132- remove Requires: gnome-python-* which are not needed anymore.
133
134* Fri May 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.0-1
135- Update to 1.3.0
136- spec in UTF-8
137
138* Sat Apr 04 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.1-1
139- Update to 1.2.1
140- fixed release tag
141- Updated Patch0
142
143* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2-1
144- initial build for Vine Linux
145
146* Tue Aug 26 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2-2
147- Change require to gnome-python2-gnome. (#460010)
148
149* Sun Aug  3 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.2-1
150- Update to 1.2.
151- Drop git patch.  fixed upstream.
152- Update scrollkeeper patch.
153
154* Tue Jun  3 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-5
155- Backport git support (#449250).
156
157* Wed Nov 14 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-4
158- Add Requires on gnome-python2-gtksourceview to enable syntax coloring. (#382041)
159
160* Sun Aug  5 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-3
161- Update license tag.
162
163* Sun Jun 10 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-2
164- Drop requires on yelp.
165
166* Sat Jun  9 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.5-1
167- Update to 1.1.5.
168- Drop gettext patch.  fixed upstream.
169
170* Sat Jun  9 2007 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-7
171- Add requires on yelp.
172
173* Sat Dec  9 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-6
174- Drop X-Fedora category from desktop file.
175- Add patch to fix rejects from new version of gettext.
176
177* Fri Dec  8 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-5
178- Rebuild against new python.
179
180* Wed Sep  6 2006 Brian Pepple <bpepple@fedoraproject.org> - 1.1.4-4
181- Don't ghost *.pyo files.
182- Add BR for intltool and perl(XML::Parser).
183- Rebuild for FC6.
184
185* Sun Jun 11 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.4-3
186- Update to 1.1.4.
187
188* Thu Feb 16 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-4
189- Remove unnecessary BR (intltool).
190
191* Mon Feb 13 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-3
192- rebuilt for new gcc4.1 snapshot and glibc changes
193
194* Sun Feb  5 2006 Brian Pepple <bdpepple@ameritech.net> - 1.1.3-2
195- Update to 1.1.3.
196- Update scrollkeeper scriptlet.
197- Update versions required for pygtk2 & gnome-python2.
198- Add patch to disable scrollkeeper in Makefile.
199- Ghost the *.pyo.
200
201* Sun Nov 13 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.1.2-1
202- Update to 1.1.2.
203
204* Mon Jul 25 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.0-1
205- Update to 1.0.0.
206- Include fix for upstream bug #309408.
207
208* Wed Jun  8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.6-1
209- Remove unused meld shell script from src.rpm.
210- Add scriptlets for scrollkeeper-update.
211- Use %%find_lang macro.
212- Simplify %%install (let included Makefile do the installation).
213- Update to 0.9.6 (fixes manual).
214- BR scrollkeeper (#156235).
215
216* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.5-2
217- rebuilt
218
219* Sun Feb 06 2005 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.9.5-1
220- 0.9.5.
221
222* Thu Nov 11 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.9.4.1-0.fdr.3
223- Clean up spec/Bump release.
224
225* Sat Jul 31 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.4.1-0.fdr.2
226- Group now Development/Tools.
227
228* Wed Jul 21 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.4.1-0.fdr.1
229- Updated to 0.9.4.1.
230
231* Fri May 28 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.3-0.fdr.1
232- Updated to 0.9.3.
233
234* Wed Apr 07 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.2.1-0.fdr.2
235- BuildReqs intltool & gettext (#1459).
236
237* Tue Apr 06 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.2.1-0.fdr.1
238- Updated to 0.9.2.1.
239
240* Thu Dec 04 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.1-0.fdr.2
241- Include translations.
242
243* Sat Nov 22 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.1-0.fdr.1
244- Updated to 0.9.1.
245
246* Thu Oct 23 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.0-0.fdr.2
247- Reuire pygtk2 >= 0:1.99.15.
248
249* Sun Oct 12 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.9.0-0.fdr.1
250- Updated to 0.9.0.
251
252* Mon Sep 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.5-0.fdr.1
253- Updated to 0.8.5.
254
255* Wed Aug 13 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.3
256- dropped tidyxml.py.
257
258* Mon Aug 11 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.2
259- Moved manual so the help feature will work.
260
261* Thu Jul 31 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.4-0.fdr.1
262- Updated to 0.8.4.
263- now install files under %%{_datadir} rather than %%{_libdir}.
264
265* Wed May 28 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.3
266- Package now contains verifiable source.
267
268* Tue May 27 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.2
269- Cleaned out libdir/meld.
270- fixed file permissions.
271
272* Sun May 25 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.8.1-0.fdr.1
273- Updated to 0.8.1.
274- buildroot -> RPM_BUILD_ROOT.
275
276* Wed Apr 16 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.1-0.fdr.1
277- Updated to 0.7.1.
278
279* Wed Apr 09 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.0-0.fdr.3
280- Updated Requires.
281
282* Tue Apr 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.7.0-0.fdr.2
283- Changed category to X-Fedora-Extra.
284- Added desktop-file-utils to BuildRequires.
285- Added missing Requires fields.
286- Added Epoch:0.
287
288* Thu Mar 27 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.7.0-0.fdr.1
289- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.