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

Revision 5548, 9.3 KB checked in by kudoh, 12 years ago (diff)

meld-vl.spec

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