]> git.pld-linux.org Git - SPECS.git/blob - yzis.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / yzis.spec
1 Summary:        yzis - a vim-like editor
2 Summary(pl.UTF-8):      yzis - edytor podobny do vima
3 Name:           yzis
4 Version:        M3
5 Release:        4
6 License:        GPL v2
7 Group:          Applications/Editors
8 Source0:        http://yzis.org.free.fr/releases/%{name}-%{version}.tar.bz2
9 # Source0-md5:  7e2d41776aa419a2bfe10ec6e69cf767
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-gcc-4.1.patch
12 URL:            https://sources.freehackers.org/Yzis/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  kdelibs-devel >= 9:3.2.0
16 BuildRequires:  libmagic-devel
17 BuildRequires:  lua50-devel
18 BuildRequires:  ncurses-devel >= 5.4
19 BuildRequires:  pslib-devel
20 BuildRequires:  rpmbuild(macros) >= 1.129
21 BuildRequires:  unsermake >= 040805
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 yzis is a vim-like editor fully rewritten from scratch based on the
26 yzis framework. It already features multibuffer, syntax highlighting,
27 basic vim commands. Yzis also comes with a nice console mode
28 application and also features:
29 - right-to-left support
30 - text completion support
31 - search bugfixes and improvements: n, N, *, g*, #, g#
32 - almost all vim ranges are supported: %, , :, ',...
33 - macro support
34 - marks and visual mark support
35 - indent support: >, >,
36
37 %description -l pl.UTF-8
38 yzis to podobny do vima edytor napisany od zera w oparciu o
39 technologię yzis. Obsługuje wiele buforów, podświetlanie składni,
40 podstawowe polecenia vima. Przychodzi z miłą aplikacją w trybie
41 konsolowym, a ponadto oferuje:
42 - obsługę pisma od prawej do lewej
43 - obsługę dopełniania tekstu
44 - poprawki i ulepszenia wyszukiwania: n, N, *, g*, #, g#
45 - obsługę prawie wszystkich zakresów vima: %, , :, ',...
46 - obsługę makr
47 - obsługę znaczników i wizualnego zaznaczania
48 - obsługę wcięć: >, >,
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 %build
56 cp -f /usr/share/automake/config.sub admin
57 export CPPFLAGS="-I/usr/include/ncurses %{rpmcflags}"
58 %configure \
59 %if "%{_lib}" == "lib64"
60         --enable-libsuffix=64 \
61 %endif
62         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
63         --with-qt-libraries=%{_libdir} \
64         --with-lua-includes=%{_includedir}/lua50
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT \
74         kde_htmldir=%{_kdedocdir} \
75         kde_libs_htmldir=%{_kdedocdir} \
76         kdelnkdir=%{_desktopdir}
77
78 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/*/* $RPM_BUILD_ROOT%{_desktopdir}
79 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
80
81 %find_lang %{name} --with-kde
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*
90 %attr(755,root,root) %{_libdir}/kde3/lib*.so
91 %{_libdir}/kde3/lib*.la
92 %{_desktopdir}/*.desktop
93 %{_datadir}/apps/*%{name}*
94 %{_datadir}/config.kcfg/*
95 %{_iconsdir}/*/*/apps/*.png
96 %{_datadir}/services/*.*
97 %{_datadir}/%{name}
This page took 0.259541 seconds and 3 git commands to generate.