]> git.pld-linux.org Git - packages/meld.git/blob - meld.spec
- updated to 1.1.3
[packages/meld.git] / meld.spec
1 # TODO: make pl translation, commit it to gnome repository
2 #       and attch pl.patch here ;)
3 #
4 Summary:        Visual diff and merge tool
5 Summary(pl):    Wizualne narzêdzie do ogl±dania i w³±czania zmian (diff)
6 Name:           meld
7 Version:        1.1.3
8 Release:        1
9 License:        GPL
10 Group:          Applications/Text
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/meld/1.1/%{name}-%{version}.tar.bz2
12 # Source0-md5:  b958f6b3b5b849607d952f49eb082cba
13 Patch0:         %{name}-desktop.patch
14 URL:            http://meld.sf.net/
15 BuildRequires:  gettext-devel
16 BuildRequires:  python-gnome-devel >= 2.10.0
17 BuildRequires:  python-pygtk-devel >= 2:2.6.1
18 BuildRequires:  python-pyorbit-devel >= 2.0.1
19 BuildRequires:  rpmbuild(macros) >= 1.197
20 BuildRequires:  scrollkeeper
21 Requires(post,postun):  desktop-file-utils
22 Requires(post,postun):  scrollkeeper
23 %pyrequires_eq  python-libs
24 Requires:       python-gnome >= 2.10.0
25 Requires:       python-gnome-gconf >= 2.10.0
26 Requires:       python-gnome-ui >= 2.10.0
27 Requires:       python-pygtk-glade >= 2:2.6.1
28 Requires:       python-pygtk-gtk >= 2:2.6.1
29 Requires:       python-pyorbit >= 2.0.1
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Meld is a GNOME visual diff and merge tool. It integrates especially
34 well with CVS. The diff viewer lets you edit files in place (diffs
35 update dynamically), and a middle column shows detailed changes and
36 allows merges. The margins show location of changes for easy
37 navigation, and it also features a tabbed interface that allows you to
38 open many diffs at once.
39
40 %description -l pl
41 Meld to przeznaczone dla GNOME wizualne narzêdzie do ogl±dania i
42 w³±czania zmian (w formacie diff). Integruje siê szczególnie dobrze z
43 CVS. Przegl±darka ró¿nic pozwala modyfikowaæ pliki w miejscu
44 (dynamicznie uaktualniaæ), a ¶rodkowa kolumna pokazuje szczegó³owe
45 zmiany i pozwala na w³±czanie. Na marginesach jest pokazane po³o¿enie
46 zmian w celu ³atwej nawigacji. Jest dostêpny tak¿e interfejs z
47 zak³adkami, pozwalaj±cy na otwieranie wielu plików diff naraz.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %{__make} \
55         prefix=/usr \
56         libdir=%{py_sitedir}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         prefix=%{_prefix} \
64         libdir=%{py_sitedir}
65
66 rm -r $RPM_BUILD_ROOT%{_datadir}/application-registry
67 rm -f $RPM_BUILD_ROOT%{py_sitedir}/{%{name},%{name}/vc}/*.py
68 rm -rf $RPM_BUILD_ROOT%{_prefix}/var
69
70 %find_lang %{name} --with-gnome
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %scrollkeeper_update_post
77 %update_desktop_database_post
78
79 %postun
80 %scrollkeeper_update_postun
81 %update_desktop_database_postun
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS changelog
86 %attr(755,root,root) %{_bindir}/%{name}
87 %dir %{py_sitedir}/%{name}
88 %{py_sitedir}/%{name}/*.py[co]
89 %dir %{py_sitedir}/%{name}/vc
90 %{py_sitedir}/%{name}/vc/*.py[co]
91 %{_datadir}/%{name}
92 %{_desktopdir}/*
93 %{_pixmapsdir}/*
94 %{_omf_dest_dir}/%{name}
This page took 0.029766 seconds and 3 git commands to generate.