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