]>
Commit | Line | Data |
---|---|---|
58467ed8 | 1 | Summary: Visual diff and merge tool |
bb537530 | 2 | Summary(pl.UTF-8): Wizualne narzędzie do oglądania i włączania zmian (diff) |
58467ed8 | 3 | Name: meld |
68f905ec | 4 | Version: 3.20.3 |
6035c80c | 5 | Release: 1 |
467d528c | 6 | License: GPL v2+ |
58467ed8 | 7 | Group: Applications/Text |
1d126720 | 8 | Source0: https://download.gnome.org/sources/meld/3.20/%{name}-%{version}.tar.xz |
68f905ec | 9 | # Source0-md5: 28bd16508e9c966d04184c16046cbadb |
b727140b | 10 | Patch0: %{name}-desktop.patch |
467d528c | 11 | Patch2: %{name}-install.patch |
4a0bd956 | 12 | URL: http://meld.sourceforge.net/ |
922920ca | 13 | BuildRequires: intltool |
c13bafef | 14 | BuildRequires: itstool |
827d3cb4 | 15 | BuildRequires: python3-modules >= 1:3.3 |
922920ca | 16 | BuildRequires: rpm-pythonprov |
1f97703a | 17 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
467d528c | 18 | BuildRequires: rpmbuild(macros) >= 1.714 |
88e2b60c ŁK |
19 | BuildRequires: tar >= 1:1.22 |
20 | BuildRequires: xz | |
467d528c | 21 | # for versions see bin/meld /check_requirements |
b9eb5d0a | 22 | Requires(post,postun): desktop-file-utils |
467d528c | 23 | Requires(post,postun): glib2 >= 1:2.48 |
1eedc52b | 24 | Requires(post,postun): gtk-update-icon-cache |
467d528c JB |
25 | Requires: glib2 >= 1:2.48 |
26 | Requires: gtk+3 >= 3.20 | |
27 | Requires: gtksourceview3 >= 3.20.0 | |
1eedc52b | 28 | Requires: hicolor-icon-theme |
1e2c207b | 29 | Requires: pango >= 1:1.26 |
827d3cb4 | 30 | Requires: python3-modules >= 1:3.3 |
58eb8586 JP |
31 | Requires: python3-pycairo |
32 | Requires: python3-pygobject3 >= 3.14 | |
91f63916 | 33 | BuildArch: noarch |
58467ed8 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
c7332d42 | 37 | Meld is a GNOME visual diff and merge tool. It integrates especially |
58467ed8 | 38 | well with CVS. The diff viewer lets you edit files in place (diffs |
39 | update dynamically), and a middle column shows detailed changes and | |
40 | allows merges. The margins show location of changes for easy | |
41 | navigation, and it also features a tabbed interface that allows you to | |
42 | open many diffs at once. | |
43 | ||
7b904f61 JR |
44 | %description -l pl.UTF-8 |
45 | Meld to przeznaczone dla GNOME wizualne narzędzie do oglądania i | |
46 | włączania zmian (w formacie diff). Integruje się szczególnie dobrze z | |
47 | CVS. Przeglądarka różnic pozwala modyfikować pliki w miejscu | |
48 | (dynamicznie uaktualniać), a środkowa kolumna pokazuje szczegółowe | |
49 | zmiany i pozwala na włączanie. Na marginesach jest pokazane położenie | |
50 | zmian w celu łatwej nawigacji. Jest dostępny także interfejs z | |
51 | zakładkami, pozwalający na otwieranie wielu plików diff naraz. | |
2e9a20f0 | 52 | |
58467ed8 | 53 | %prep |
54 | %setup -q | |
b727140b | 55 | %patch0 -p1 |
467d528c JB |
56 | %patch2 -p1 |
57 | ||
58 | cp -p meld/vc/COPYING COPYING.vc | |
59 | cp -p meld/vc/README README.vc | |
5d744b5b | 60 | |
61 | %build | |
467d528c | 62 | %py3_build |
58467ed8 | 63 | |
58467ed8 | 64 | %install |
65 | rm -rf $RPM_BUILD_ROOT | |
58467ed8 | 66 | |
467d528c | 67 | %py3_install install_data \ |
7f499af8 | 68 | --no-compile-schemas \ |
467d528c | 69 | --no-update-icon-cache |
33a337a3 | 70 | |
467d528c | 71 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
c13bafef | 72 | |
467d528c | 73 | %find_lang %{name} --with-gnome |
58467ed8 | 74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
0d9e5088 | 78 | %post |
c13bafef | 79 | %glib_compile_schemas |
91c7f49e | 80 | %update_desktop_database_post |
1eedc52b | 81 | %update_icon_cache hicolor |
0d9e5088 MK |
82 | |
83 | %postun | |
91c7f49e | 84 | %update_desktop_database_postun |
1eedc52b | 85 | %update_icon_cache hicolor |
c13bafef | 86 | %glib_compile_schemas |
0d9e5088 | 87 | |
a766be71 | 88 | %files -f %{name}.lang |
58467ed8 | 89 | %defattr(644,root,root,755) |
467d528c JB |
90 | %doc NEWS COPYING.vc README.vc |
91 | %attr(755,root,root) %{_bindir}/meld | |
68f905ec | 92 | %{py3_sitescriptdir}/meld-%{version}-py*.egg-info |
58eb8586 JP |
93 | %dir %{py3_sitescriptdir}/%{name} |
94 | %{py3_sitescriptdir}/%{name}/*.py | |
95 | %{py3_sitescriptdir}/%{name}/__pycache__ | |
96 | %dir %{py3_sitescriptdir}/%{name}/matchers | |
97 | %{py3_sitescriptdir}/%{name}/matchers/*.py | |
98 | %{py3_sitescriptdir}/%{name}/matchers/__pycache__ | |
99 | %dir %{py3_sitescriptdir}/%{name}/ui | |
100 | %{py3_sitescriptdir}/%{name}/ui/*.py | |
101 | %{py3_sitescriptdir}/%{name}/ui/__pycache__ | |
102 | %dir %{py3_sitescriptdir}/%{name}/vc | |
103 | %{py3_sitescriptdir}/%{name}/vc/*.py | |
104 | %{py3_sitescriptdir}/%{name}/vc/__pycache__ | |
467d528c JB |
105 | %{_iconsdir}/hicolor/16x16/actions/meld-change-*.png |
106 | %{_iconsdir}/hicolor/*x*/apps/meld-version-control.png | |
107 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.meld.png | |
108 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.meld.svg | |
b8e2a79a | 109 | %{_iconsdir}/HighContrast/scalable/apps/org.gnome.meld.svg |
a766be71 | 110 | %{_datadir}/%{name} |
c13bafef | 111 | %{_datadir}/glib-2.0/schemas/org.gnome.meld.gschema.xml |
467d528c | 112 | %{_datadir}/metainfo/org.gnome.meld.appdata.xml |
b8e2a79a JP |
113 | %{_datadir}/mime/packages/org.gnome.meld.xml |
114 | %{_desktopdir}/org.gnome.meld.desktop | |
467d528c | 115 | %{_mandir}/man1/meld.1* |