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

Revision 4616, 9.0 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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