]> git.pld-linux.org Git - packages/meld.git/blame - meld.spec
- rel 2. Fails without gtksourceview3, added to R.
[packages/meld.git] / meld.spec
CommitLineData
a8138c38
MK
1# TODO:
2# - make pl translation, commit it to gnome repository and attach pl.patch here ;)
a766be71 3#
58467ed8 4Summary: Visual diff and merge tool
bb537530 5Summary(pl.UTF-8): Wizualne narzędzie do oglądania i włączania zmian (diff)
58467ed8 6Name: meld
b6b62394 7Version: 3.12.2
21ebce69 8Release: 2
58467ed8 9License: GPL
10Group: Applications/Text
c13bafef 11Source0: http://ftp.gnome.org/pub/GNOME/sources/meld/3.12/%{name}-%{version}.tar.xz
b6b62394 12# Source0-md5: a11c4abf923d136e410fa9e8217c0bba
b727140b 13Patch0: %{name}-desktop.patch
4a0bd956 14URL: http://meld.sourceforge.net/
d4c9e5fd 15BuildRequires: gettext-devel
922920ca 16BuildRequires: intltool
c13bafef 17BuildRequires: itstool
1eedc52b 18BuildRequires: python-modules >= 2.5
922920ca 19BuildRequires: rpm-pythonprov
1f97703a 20BuildRequires: rpmbuild(find_lang) >= 1.23
91c7f49e 21BuildRequires: rpmbuild(macros) >= 1.197
88e2b60c
ŁK
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
b9eb5d0a 24Requires(post,postun): desktop-file-utils
c13bafef 25Requires(post,postun): glib2 >= 1:2.26.0
1eedc52b 26Requires(post,postun): gtk-update-icon-cache
1eedc52b
AF
27Requires: hicolor-icon-theme
28Requires: python-pygobject >= 2.16
29Requires: python-pygtk-gtk >= 2.14
21ebce69
MK
30# Without gtksourceview3 >= 3.14 meld fails:
31# Cannot import: GtkSourceView
32# cannot import name GtkSource
33Requires: gtksourceview3 >= 3.14
1eedc52b 34Suggests: python-gtksourceview2 >= 2.4
1f125459
MB
35# sr@Latn vs. sr@latin
36Conflicts: glibc-misc < 6:2.7
91f63916 37BuildArch: noarch
58467ed8 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
c7332d42 41Meld is a GNOME visual diff and merge tool. It integrates especially
58467ed8 42well with CVS. The diff viewer lets you edit files in place (diffs
43update dynamically), and a middle column shows detailed changes and
44allows merges. The margins show location of changes for easy
45navigation, and it also features a tabbed interface that allows you to
46open many diffs at once.
47
7b904f61
JR
48%description -l pl.UTF-8
49Meld to przeznaczone dla GNOME wizualne narzędzie do oglądania i
50włączania zmian (w formacie diff). Integruje się szczególnie dobrze z
51CVS. Przeglądarka różnic pozwala modyfikować pliki w miejscu
52(dynamicznie uaktualniać), a środkowa kolumna pokazuje szczegółowe
53zmiany i pozwala na włączanie. Na marginesach jest pokazane położenie
54zmian w celu łatwej nawigacji. Jest dostępny także interfejs z
55zakładkami, pozwalający na otwieranie wielu plików diff naraz.
2e9a20f0 56
58467ed8 57%prep
58%setup -q
b727140b 59%patch0 -p1
5d744b5b 60
61%build
c13bafef 62%{__python} setup.py build
58467ed8 63
58467ed8 64%install
65rm -rf $RPM_BUILD_ROOT
58467ed8 66
91f63916 67# NOTE: --skip-build breaks install
c13bafef
JP
68%{__python} setup.py \
69 --no-compile-schemas \
70 --no-update-icon-cache \
71 install \
72 --optimize=2 \
73 --root=$RPM_BUILD_ROOT
33a337a3
AF
74
75%py_postclean
b9eb5d0a 76
c13bafef
JP
77%{__rm} -r $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
78
1f125459 79%find_lang %{name} --with-gnome --with-omf
58467ed8 80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
0d9e5088 84%post
c13bafef 85%glib_compile_schemas
91c7f49e 86%update_desktop_database_post
1eedc52b 87%update_icon_cache hicolor
0d9e5088
MK
88
89%postun
91c7f49e 90%update_desktop_database_postun
1eedc52b 91%update_icon_cache hicolor
c13bafef 92%glib_compile_schemas
0d9e5088 93
a766be71 94%files -f %{name}.lang
58467ed8 95%defattr(644,root,root,755)
c13bafef 96%doc NEWS README
58467ed8 97%attr(755,root,root) %{_bindir}/%{name}
c13bafef
JP
98%dir %{py_sitescriptdir}/meld-*.egg-info
99%dir %{py_sitescriptdir}/%{name}
100%{py_sitescriptdir}/%{name}/*.py[co]
101%dir %{py_sitescriptdir}/%{name}/ui
102%{py_sitescriptdir}/%{name}/ui/*.py[co]
103%dir %{py_sitescriptdir}/%{name}/util
104%{py_sitescriptdir}/%{name}/util/*.py[co]
105%dir %{py_sitescriptdir}/%{name}/vc
106%{py_sitescriptdir}/%{name}/vc/*.py[co]
107%{_iconsdir}/hicolor/*/actions/*.png
7d74884d 108%{_iconsdir}/hicolor/*/apps/%{name}.png
1eedc52b 109%{_iconsdir}/hicolor/*/apps/%{name}.svg
c13bafef 110%{_iconsdir}/hicolor/*/apps/meld-version-control.png
a8138c38 111%{_iconsdir}/HighContrast/scalable/apps/meld.svg
a766be71 112%{_datadir}/%{name}
a8138c38 113%{_datadir}/appdata/meld.appdata.xml
c13bafef 114%{_datadir}/glib-2.0/schemas/org.gnome.meld.gschema.xml
a8138c38 115%{_datadir}/mime/packages/meld.xml
7d74884d 116%{_desktopdir}/%{name}.desktop
c13bafef 117%{_mandir}/man1/%{name}.1*
This page took 0.103555 seconds and 4 git commands to generate.