Search
j0ke.net Open Build Service
>
Projects
>
home:jg
>
joe
> joe.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File joe.spec of Package joe (Revision 4)
Currently displaying revision
4
,
show latest
Summary: An easy to use, modeless text editor Name: joe Version: 3.7 Release: 999ix License: GPLv2+ Group: Applications/Editors URL: http://sourceforge.net/projects/joe-editor/ Source: http://downloads.sourceforge.net/joe-editor/joe-%{version}.tar.gz Source1: ftyperc Source2: joe-syntax.tar.gz %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Patch0: joe-3.7-joerc.patch Patch1: joe-3.4-selinux.patch Patch2: joe-3.5-time.patch Patch3: joe-3.7-orphan.patch Patch4: joe-3.7-indent-ow.patch Patch5: joe-3.7-aarch64.patch Patch6: joe-3.7-format-security.patch BuildRequires: ncurses-devel libselinux-devel %description Joe is a powerful, easy to use, modeless text editor. It uses the same WordStar keybindings used in Borland's development environment. %prep %setup -q %patch0 -p1 -b .joerc %patch1 -p1 -b .selinux %patch2 -p1 -b .time %patch3 -p1 -b .orphan %patch4 -p1 -b .of %patch5 -p1 -b .aarch64 %patch6 -p1 -b .format-security iconv -f koi8-r -t utf-8 ./man/ru/joe.1.in >./man/ru/joe.1.in.aux touch -r ./man/ru/joe.1.in ./man/ru/joe.1.in.aux mv ./man/ru/joe.1.in.aux ./man/ru/joe.1.in iconv -f ISO_8859-1 -t UTF-8 HACKING > HACKING.tmp touch -r HACKING HACKING.tmp mv HACKING.tmp HACKING iconv -f ISO_8859-1 -t UTF-8 ChangeLog > ChangeLog.tmp touch -r ChangeLog ChangeLog.tmp mv ChangeLog.tmp ChangeLog %build %configure --docdir=%{_pkgdocdir} make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT %{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name} # This is automatically compressed afterwards... pushd $RPM_BUILD_ROOT/%{_mandir}/man1 ln -s joe.1 jmacs.1 ln -s joe.1 jpico.1 ln -s joe.1 jstar.1 ln -s joe.1 rjoe.1 tar -xvzf %{SOURCE2} -C %{buildroot}/usr/share/joe/syntax popd %files %doc README TODO HINTS NEWS LIST COPYING %{_bindir}/* %dir /etc/joe %config(noreplace) /etc/joe/* %{_mandir}/man1/* %{_mandir}/ru/man1/* %{_datadir}/%{name} %changelog * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild