source: projects/specs/trunk/m/meld/meld-vl.spec @ 8488

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