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

Revision 1278, 8.3 KB checked in by munepi, 14 years ago (diff)

updated meld-vl.spec

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