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