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