]> git.pld-linux.org Git - packages/meld.git/blob - meld.spec
57c35c06d9ee47e8c68629917fabbf46d7c27513
[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.4
8 Release:        2
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:  e780a8f67183acf7f51b13aa4a62ac85
13 Patch0:         %{name}-desktop.patch
14 Patch1:         %{name}-GNUmakefile.patch
15 URL:            http://meld.sourceforge.net/
16 BuildRequires:  gettext-devel
17 BuildRequires:  python-gnome-devel >= 2.15.1
18 BuildRequires:  python-pyorbit-devel >= 2.14.0
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.15.1
25 Requires:       python-gnome-ui >= 2.15.1
26 Requires:       python-pygtk-glade >= 2:2.9.0
27 Requires:       python-pyorbit >= 2.14.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Meld is a GNOME visual diff and merge tool. It integrates especially
32 well with CVS. The diff viewer lets you edit files in place (diffs
33 update dynamically), and a middle column shows detailed changes and
34 allows merges. The margins show location of changes for easy
35 navigation, and it also features a tabbed interface that allows you to
36 open many diffs at once.
37
38 %description -l pl
39 Meld to przeznaczone dla GNOME wizualne narzêdzie do ogl±dania i
40 w³±czania zmian (w formacie diff). Integruje siê szczególnie dobrze z
41 CVS. Przegl±darka ró¿nic pozwala modyfikowaæ pliki w miejscu
42 (dynamicznie uaktualniaæ), a ¶rodkowa kolumna pokazuje szczegó³owe
43 zmiany i pozwala na w³±czanie. Na marginesach jest pokazane po³o¿enie
44 zmian w celu ³atwej nawigacji. Jest dostêpny tak¿e interfejs z
45 zak³adkami, pozwalaj±cy na otwieranie wielu plików diff naraz.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 %{__make} \
54         prefix=/usr \
55         libdir=%{py_sitedir}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         prefix=%{_prefix} \
63         libdir=%{py_sitedir}
64
65 rm -r $RPM_BUILD_ROOT%{_datadir}/application-registry
66 rm -f $RPM_BUILD_ROOT%{py_sitedir}/{%{name},%{name}/vc}/*.py
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %scrollkeeper_update_post
75 %update_desktop_database_post
76
77 %postun
78 %scrollkeeper_update_postun
79 %update_desktop_database_postun
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS changelog
84 %attr(755,root,root) %{_bindir}/%{name}
85 %dir %{py_sitedir}/%{name}
86 %{py_sitedir}/%{name}/*.py[co]
87 %dir %{py_sitedir}/%{name}/vc
88 %{py_sitedir}/%{name}/vc/*.py[co]
89 %{_datadir}/%{name}
90 %{_desktopdir}/*
91 %{_pixmapsdir}/*
92 %{_omf_dest_dir}/%{name}
This page took 0.028783 seconds and 2 git commands to generate.