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