123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- Name: meld
- Version: 3.20.4
- Release: 1%{?dist}
- Summary: Compare files, directories and working copies
- License: GPLv2
- URL: https://meldmerge.org/
- Source0: https://download.gnome.org/sources/meld/3.20/meld-%{version}.tar.xz
- Requires: python3 python3-gobject python3-cairo
- BuildRequires: python3 gtk3-devel glib2-devel python3-gobject gtksourceview3-devel python3-cairo
- BuildRequires: intltool yelp-tools
- %global pyver 3.9
- %global pylibdir /usr/lib/python%{pyver}/site-packages
- %global pylib64dir %{_libdir}/python%{pyver}/site-packages
- %description
- Meld is a visual diff and merge tool targeted at developers.
- Meld helps you compare files, directories, and version controlled projects.
- It provides two- and three-way comparison of both files and directories,
- and has support for many popular version control systems.
- %prep
- %setup -q
- %build
- python3 setup.py build
- %install
- python3 setup.py --no-update-icon-cache --no-compile-schemas \
- install --prefix=/usr --root="%{buildroot}" --optimize=1
- %posttrans
- glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
- %postun
- if [ $1 -eq 0 ]; then
- glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
- fi
- %files
- /usr/bin/meld
- /usr/share/applications/org.gnome.meld.desktop
- %{pylibdir}/meld
- %{pylibdir}/meld-3.20.4-py3.9.egg-info
- /usr/share/doc/meld-3.20.4/COPYING
- /usr/share/doc/meld-3.20.4/NEWS
- /usr/share/glib-2.0/schemas/org.gnome.meld.gschema.xml
- /usr/share/help/C/meld
- /usr/share/icons/hicolor/16x16/actions/meld*
- /usr/share/icons/hicolor/*/apps/meld-version-control.png
- /usr/share/icons/hicolor/*/apps/org.gnome.meld.png
- /usr/share/icons/hicolor/scalable/apps/org.gnome.meld.svg
- /usr/share/icons/HighContrast/scalable/apps/org.gnome.meld.svg
- /usr/share/locale/*/LC_MESSAGES/meld.mo
- /usr/share/man/man1/meld.1*
- /usr/share/meld
- /usr/share/metainfo/org.gnome.meld.appdata.xml
- /usr/share/mime/packages/org.gnome.meld.xml
- %changelog
|