]> git.pld-linux.org Git - packages/meld.git/blob - meld.spec
- new style macros
[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:        0.9.5
8 Release:        2
9 License:        GPL
10 Group:          Applications/Text
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/meld/0.9/%{name}-%{version}.tar.bz2
12 # Source0-md5:  dc86bf6f5ed1887da6a28ac1d91eb78d
13 Patch0:         %{name}-desktop.patch
14 Patch1:         %{name}-omf.patch
15 URL:            http://meld.sf.net/
16 BuildRequires:  python-pyorbit-devel >= 1.99.7
17 BuildRequires:  python-gnome-devel >= 1.99.18
18 BuildRequires:  python-pygtk-devel >= 1.99.18
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-pygtk-gtk >= 1.99.18
25 Requires:       python-gnome >= 1.99.18
26 Requires:       python-gnome-ui >= 1.99.18
27 Requires:       python-gnome-gconf >= 1.99.18
28 Requires:       python-pyorbit >= 1.99.18
29 Requires:       python-pygtk-glade >= 1.99.18
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Meld is a GNOME 2 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 2 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 %patch1 -p1
53
54 %build
55 %{__make} \
56         prefix=/usr \
57         libdir=%{py_sitedir}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         prefix=%{_prefix} \
65         libdir=%{py_sitedir}
66
67 rm -r $RPM_BUILD_ROOT%{_datadir}/application-registry
68
69 %find_lang %{name} --with-gnome
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %scrollkeeper_update_post
76 %update_desktop_database_post
77
78 %postun
79 %scrollkeeper_update_postun
80 %update_desktop_database_postun
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS changelog
85 %attr(755,root,root) %{_bindir}/%{name}
86 %dir %{py_sitedir}/%{name}
87 %{py_sitedir}/%{name}/*.py[co]
88 %{_datadir}/%{name}
89 %{_desktopdir}/*
90 %{_pixmapsdir}/*
91 %{_omf_dest_dir}/%{name}
This page took 0.06102 seconds and 3 git commands to generate.