Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cc00a3fa70
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 121 lines (104 sloc) 2.955 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
Summary: Ferite programming language
Name: ferite
Version: @VERSION@
Release: 1
License: BSD
Group: Development/Languages
Source: %{_prefix}/rpm-build/SOURCES/ferite.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://www.ferite.org/
Requires: pcre libxml2

%package devel
Summary: Ferite headers and development libraries.
Group: Development/Libraries
Requires: %{name} = %{version}

%description
ferite is a language that incorporates the design philosophies of
other languages, but without many of their drawbacks. It has strong
similiarities to perl, python, C, Java and pascal, while being both
lightweight, modular, and embeddable.

Install ferite to use/develop programs using the ferite langauge.

%description devel
Ferite headers and development libraries.

%prep
%setup -n ferite-%{version}

%build
if [ -e ./configure ]; then
%configure --prefix=%{_prefix} --bindir=%{_bindir} \
  --libdir=%{_libdir} --includedir=%{_includedir} \
  --mandir=%{_mandir} --datadir=%{_datadir}
else
./autogen.sh --prefix=%{_prefix} --bindir=%{_bindir} \
 --libdir=%{_libdir} --includedir=%{_includedir} \
 --mandir=%{_mandir} --datadir=%{_datadir};
%configure --prefix=%{_prefix} --bindir=%{_bindir} \
  --libdir=%{_libdir} --includedir=%{_includedir} \
  --mandir=%{_mandir} --datadir=%{_datadir}
fi
make
make
make
make
make
make
make
make
make
make

###########################################################################

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig
mkdir -p %{_prefix}/share/doc/ferite/api
%{_prefix}/bin/feritedoc --regenerate

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%doc ABOUT AUTHORS ChangeLog DEVELOPERS LICENSE
%doc README RELEASE.NOTES ROADMAP TODO
%{_bindir}/ferite
%{_bindir}/feritedoc
%{_bindir}/farm
%{_bindir}/manual-builder-html
%{_bindir}/manual-builder-pdf
%{_libdir}/*.so.*
%{_libdir}/ferite/*
%{_datadir}/ferite/*
%{_prefix}/share/doc/ferite/examples/*
%{_prefix}/share/doc/ferite/html-manuals/*
%{_prefix}/share/doc/ferite/ABOUT
%{_prefix}/share/doc/ferite/AUTHORS
%{_prefix}/share/doc/ferite/DEVELOPERS
%{_prefix}/share/doc/ferite/LICENSE
%{_prefix}/share/doc/ferite/RELEASE.NOTES
%{_prefix}/share/doc/ferite/ROADMAP
%{_prefix}/share/doc/ferite/TODO
%{_prefix}/share/doc/ferite/feritedoc.pdf
%{_prefix}/share/doc/ferite/manual.pdf
/usr/share/man/man1/builder.1.gz
/usr/share/man/man1/ferite.1.gz

%files devel
%{_bindir}/ferite-config
%{_bindir}/builder
%{_bindir}/cache_ferite
%{_bindir}/generate-module
%{_libdir}/*.so
%{_libdir}/*.*a
%{_includedir}/ferite/*
%{_includedir}/ferite.h
%{_prefix}/share/doc/ferite/embed.pdf
%{_prefix}/share/aclocal/ferite.m4

%changelog
* Wed Jul 15 2009 Chris Ross <chris@darkrock.co.uk>
- Fired Michael
- Fixed spec file

* Thu Jul 11 2002 Michael Jennings <mej@kainx.org>
- Fired term
- Fixed spec file

* Wed Dec 27 2000 Lyle Kempler <term@twistedpath.org>
- Created spec file
Something went wrong with that request. Please try again.