]> git.pld-linux.org Git - packages/meld.git/blob - meld.spec
- up to 3.12.0
[packages/meld.git] / meld.spec
1 # TODO:
2 # - make pl translation, commit it to gnome repository and attach pl.patch here ;)
3 #
4 Summary:        Visual diff and merge tool
5 Summary(pl.UTF-8):      Wizualne narzędzie do oglądania i włączania zmian (diff)
6 Name:           meld
7 Version:        3.12.0
8 Release:        1
9 License:        GPL
10 Group:          Applications/Text
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/meld/3.12/%{name}-%{version}.tar.xz
12 # Source0-md5:  9dbdb3306dc5d2415baeae3892bcec8e
13 Patch0:         %{name}-desktop.patch
14 URL:            http://meld.sourceforge.net/
15 BuildRequires:  gettext-devel
16 BuildRequires:  intltool
17 BuildRequires:  itstool
18 BuildRequires:  python-modules >= 2.5
19 BuildRequires:  rpm-pythonprov
20 BuildRequires:  rpmbuild(find_lang) >= 1.23
21 BuildRequires:  rpmbuild(macros) >= 1.197
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires(post,postun):  desktop-file-utils
25 Requires(post,postun):  glib2 >= 1:2.26.0
26 Requires(post,postun):  gtk-update-icon-cache
27 Requires:       hicolor-icon-theme
28 Requires:       python-pygobject >= 2.16
29 Requires:       python-pygtk-gtk >= 2.14
30 Suggests:       python-gtksourceview2 >= 2.4
31 # sr@Latn vs. sr@latin
32 Conflicts:      glibc-misc < 6:2.7
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Meld is a GNOME visual diff and merge tool. It integrates especially
37 well with CVS. The diff viewer lets you edit files in place (diffs
38 update dynamically), and a middle column shows detailed changes and
39 allows merges. The margins show location of changes for easy
40 navigation, and it also features a tabbed interface that allows you to
41 open many diffs at once.
42
43 %description -l pl.UTF-8
44 Meld to przeznaczone dla GNOME wizualne narzędzie do oglądania i
45 włączania zmian (w formacie diff). Integruje się szczególnie dobrze z
46 CVS. Przeglądarka różnic pozwala modyfikować pliki w miejscu
47 (dynamicznie uaktualniać), a środkowa kolumna pokazuje szczegółowe
48 zmiany i pozwala na włączanie. Na marginesach jest pokazane położenie
49 zmian w celu łatwej nawigacji. Jest dostępny także interfejs z
50 zakładkami, pozwalający na otwieranie wielu plików diff naraz.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %{__python} setup.py build
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__python} setup.py \
63         --no-compile-schemas \
64         --no-update-icon-cache \
65         install \
66         --optimize=2 \
67         --root=$RPM_BUILD_ROOT
68
69 %py_postclean
70
71 %{__rm} -r $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version}
72
73 %find_lang %{name} --with-gnome --with-omf
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 README
91 %attr(755,root,root) %{_bindir}/%{name}
92 %dir %{py_sitescriptdir}/meld-*.egg-info
93 %dir %{py_sitescriptdir}/%{name}
94 %{py_sitescriptdir}/%{name}/*.py[co]
95 %dir %{py_sitescriptdir}/%{name}/ui
96 %{py_sitescriptdir}/%{name}/ui/*.py[co]
97 %dir %{py_sitescriptdir}/%{name}/util
98 %{py_sitescriptdir}/%{name}/util/*.py[co]
99 %dir %{py_sitescriptdir}/%{name}/vc
100 %{py_sitescriptdir}/%{name}/vc/*.py[co]
101 %{_iconsdir}/hicolor/*/actions/*.png
102 %{_iconsdir}/hicolor/*/apps/%{name}.png
103 %{_iconsdir}/hicolor/*/apps/%{name}.svg
104 %{_iconsdir}/hicolor/*/apps/meld-version-control.png
105 %{_iconsdir}/HighContrast/scalable/apps/meld.svg
106 %{_datadir}/%{name}
107 %{_datadir}/appdata/meld.appdata.xml
108 %{_datadir}/glib-2.0/schemas/org.gnome.meld.gschema.xml
109 %{_datadir}/mime/packages/meld.xml
110 %{_desktopdir}/%{name}.desktop
111 %{_mandir}/man1/%{name}.1*
This page took 0.056957 seconds and 3 git commands to generate.