1 # TODO: make pl translation, commit it to gnome repository
2 # and attch pl.patch here ;)
4 Summary: Visual diff and merge tool
5 Summary(pl.UTF-8): Wizualne narzędzie do oglądania i włączania zmian (diff)
10 Group: Applications/Text
11 Source0: http://ftp.gnome.org/pub/gnome/sources/meld/1.1/%{name}-%{version}.tar.bz2
12 # Source0-md5: e780a8f67183acf7f51b13aa4a62ac85
13 Patch0: %{name}-desktop.patch
14 Patch1: %{name}-GNUmakefile.patch
15 URL: http://meld.sourceforge.net/
16 BuildRequires: gettext-devel
17 BuildRequires: python-gnome-devel >= 2.15.1
18 BuildRequires: python-pyorbit-devel >= 2.14.0
19 BuildRequires: rpmbuild(macros) >= 1.197
20 BuildRequires: scrollkeeper
21 Requires(post,postun): desktop-file-utils
22 Requires(post,postun): scrollkeeper
23 %pyrequires_eq python-libs
24 Requires: python-gnome >= 2.15.1
25 Requires: python-gnome-ui >= 2.15.1
26 Requires: python-pygtk-glade >= 2:2.9.0
27 Requires: python-pyorbit >= 2.14.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Meld is a GNOME visual diff and merge tool. It integrates especially
32 well with CVS. The diff viewer lets you edit files in place (diffs
33 update dynamically), and a middle column shows detailed changes and
34 allows merges. The margins show location of changes for easy
35 navigation, and it also features a tabbed interface that allows you to
36 open many diffs at once.
38 %description -l pl.UTF-8
39 Meld to przeznaczone dla GNOME wizualne narzędzie do oglądania i
40 włączania zmian (w formacie diff). Integruje się szczególnie dobrze z
41 CVS. Przeglądarka różnic pozwala modyfikować pliki w miejscu
42 (dynamicznie uaktualniać), a środkowa kolumna pokazuje szczegółowe
43 zmiany i pozwala na włączanie. Na marginesach jest pokazane położenie
44 zmian w celu łatwej nawigacji. Jest dostępny także interfejs z
45 zakładkami, pozwalający na otwieranie wielu plików diff naraz.
53 # Nasty quickfix - some translations are broken for now
54 rm -f po/{hu,ja,ru}.po
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT \
67 rm -r $RPM_BUILD_ROOT%{_datadir}/application-registry
68 rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{name}/*.py
70 %find_lang %{name} --with-gnome
73 rm -rf $RPM_BUILD_ROOT
76 %scrollkeeper_update_post
77 %update_desktop_database_post
80 %scrollkeeper_update_postun
81 %update_desktop_database_postun
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS changelog
86 %attr(755,root,root) %{_bindir}/%{name}
87 %dir %{py_sitedir}/%{name}
88 %{py_sitedir}/%{name}/*.py[co]
89 %{py_sitedir}/%{name}/vc
91 %{_desktopdir}/*.desktop
93 %{_omf_dest_dir}/%{name}