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