]> git.pld-linux.org Git - packages/meld.git/blob - meld.spec
updated source url
[packages/meld.git] / meld.spec
1 Summary:        Visual diff and merge tool
2 Summary(pl.UTF-8):      Wizualne narzędzie do oglądania i włączania zmian (diff)
3 Name:           meld
4 Version:        3.20.3
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Text
8 Source0:        https://download.gnome.org/sources/meld/3.20/%{name}-%{version}.tar.xz
9 # Source0-md5:  28bd16508e9c966d04184c16046cbadb
10 Patch0:         %{name}-desktop.patch
11 Patch2:         %{name}-install.patch
12 URL:            http://meld.sourceforge.net/
13 BuildRequires:  intltool
14 BuildRequires:  itstool
15 BuildRequires:  python3-modules >= 1:3.3
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpmbuild(find_lang) >= 1.23
18 BuildRequires:  rpmbuild(macros) >= 1.714
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 # for versions see bin/meld /check_requirements
22 Requires(post,postun):  desktop-file-utils
23 Requires(post,postun):  glib2 >= 1:2.48
24 Requires(post,postun):  gtk-update-icon-cache
25 Requires:       glib2 >= 1:2.48
26 Requires:       gtk+3 >= 3.20
27 Requires:       gtksourceview3 >= 3.20.0
28 Requires:       hicolor-icon-theme
29 Requires:       pango >= 1:1.26
30 Requires:       python3-modules >= 1:3.3
31 Requires:       python3-pycairo
32 Requires:       python3-pygobject3 >= 3.14
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Meld is a GNOME visual diff and merge tool. It integrates especially
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
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.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch2 -p1
57
58 cp -p meld/vc/COPYING COPYING.vc
59 cp -p meld/vc/README README.vc
60
61 %build
62 %py3_build
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %py3_install install_data \
68         --no-compile-schemas \
69         --no-update-icon-cache
70
71 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
72
73 %find_lang %{name} --with-gnome
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 %glib_compile_schemas
80 %update_desktop_database_post
81 %update_icon_cache hicolor
82
83 %postun
84 %update_desktop_database_postun
85 %update_icon_cache hicolor
86 %glib_compile_schemas
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc NEWS COPYING.vc README.vc
91 %attr(755,root,root) %{_bindir}/meld
92 %{py3_sitescriptdir}/meld-%{version}-py*.egg-info
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__
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
109 %{_iconsdir}/HighContrast/scalable/apps/org.gnome.meld.svg
110 %{_datadir}/%{name}
111 %{_datadir}/glib-2.0/schemas/org.gnome.meld.gschema.xml
112 %{_datadir}/metainfo/org.gnome.meld.appdata.xml
113 %{_datadir}/mime/packages/org.gnome.meld.xml
114 %{_desktopdir}/org.gnome.meld.desktop
115 %{_mandir}/man1/meld.1*
This page took 0.076068 seconds and 3 git commands to generate.