2 # - make pl translation, commit it to gnome repository and attach 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.8/%{name}-%{version}.tar.xz
12 # Source0-md5: d9e5038487ae0b8694191370fcc87fb8
13 Patch0: %{name}-desktop.patch
14 Patch1: %{name}-GNUmakefile.patch
15 Patch2: %{name}-version_control_plugins_glob.patch
16 URL: http://meld.sourceforge.net/
17 BuildRequires: gettext-devel
18 BuildRequires: intltool
19 BuildRequires: python-modules >= 2.5
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(find_lang) >= 1.23
22 BuildRequires: rpmbuild(macros) >= 1.197
23 BuildRequires: scrollkeeper
24 BuildRequires: tar >= 1:1.22
26 Requires(post,postun): desktop-file-utils
27 Requires(post,postun): gtk-update-icon-cache
28 Requires(post,postun): scrollkeeper
29 Requires: hicolor-icon-theme
30 Requires: python-pygobject >= 2.16
31 Requires: python-pygtk-gtk >= 2.14
32 Suggests: python-gtksourceview2 >= 2.4
33 # sr@Latn vs. sr@latin
34 Conflicts: glibc-misc < 6:2.7
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Meld is a GNOME visual diff and merge tool. It integrates especially
39 well with CVS. The diff viewer lets you edit files in place (diffs
40 update dynamically), and a middle column shows detailed changes and
41 allows merges. The margins show location of changes for easy
42 navigation, and it also features a tabbed interface that allows you to
43 open many diffs at once.
45 %description -l pl.UTF-8
46 Meld to przeznaczone dla GNOME wizualne narzędzie do oglądania i
47 włączania zmian (w formacie diff). Integruje się szczególnie dobrze z
48 CVS. Przeglądarka różnic pozwala modyfikować pliki w miejscu
49 (dynamicznie uaktualniać), a środkowa kolumna pokazuje szczegółowe
50 zmiany i pozwala na włączanie. Na marginesach jest pokazane położenie
51 zmian w celu łatwej nawigacji. Jest dostępny także interfejs z
52 zakładkami, pozwalający na otwieranie wielu plików diff naraz.
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT \
73 touch $RPM_BUILD_ROOT%{py_sitedir}/meld/__init__.py
75 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
76 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
80 %find_lang %{name} --with-gnome --with-omf
83 rm -rf $RPM_BUILD_ROOT
86 %scrollkeeper_update_post
87 %update_desktop_database_post
88 %update_icon_cache hicolor
91 %scrollkeeper_update_postun
92 %update_desktop_database_postun
93 %update_icon_cache hicolor
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/%{name}
98 %dir %{py_sitedir}/%{name}
99 %{py_sitedir}/%{name}/*.py[co]
100 %{py_sitedir}/%{name}/%{name}
101 %{_iconsdir}/hicolor/*/apps/%{name}.png
102 %{_iconsdir}/hicolor/*/apps/%{name}.svg
103 %{_iconsdir}/HighContrast/scalable/apps/meld.svg
105 %{_datadir}/appdata/meld.appdata.xml
106 %{_datadir}/mime/packages/meld.xml
107 %{_desktopdir}/%{name}.desktop