10139N/A#
10139N/A# spec file for package raptor
10139N/A# Copyright (c) 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A
10139N/A%define owner jefftsai
10139N/A
10139N/A%define OSR 12291:1.4.18
10139N/A
10139N/AName: raptor
10139N/ASummary: RDF Parser Library - RDF parser utility
10139N/ALicense: LGPL v2
10139N/AVersion: 1.4.19
10139N/ADistribution: Java Desktop System
10139N/AVendor: librdf.org
10139N/AGroup: System/Libraries
10139N/AURL: http://librdf.org/raptor
10139N/ASource: http://download.librdf.org/source/raptor-%{version}.tar.gz
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A# date:2009-09-17 owner:jefftsai type:branding
10139N/APatch1: raptor-01-manpage.diff
10139N/ADocdir: %{_defaultdocdir}/doc
10162N/A
10254N/A%description
10139N/ARaptor is a free software C library that provides a set of parsers and
10139N/Aserializers that generate Resource Description Framework (RDF) triples
10139N/Aby parsing syntaxes or serialize the triples into a syntax.
10139N/A
10139N/A%package devel
10139N/ASummary: Development package for libraptor
10139N/A%description devel
10139N/AThis package contains the header files and documentation
10139N/Aneeded to develop applications with libraptor
10139N/A
10139N/A%prep
10139N/A%setup
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/A
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%{_ldflags}"
10139N/A
10139N/A./configure --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --includedir=%{_includedir} \
10139N/A --mandir=%{_mandir} \
10139N/A --enable-static=no
10139N/A
10139N/Amake
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%doc AUTHORS ChangeLog README NEWS
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/libraptor.*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, bin) %{_mandir}
10139N/A%dir %attr (0755, root, bin) %{_mandir}/man1
10139N/A%{_mandir}/man1/*.1
10139N/A%dir %attr (0755, root, bin) %{_mandir}/man3
10139N/A%{_mandir}/man3/*.3
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gtk-doc
10139N/A
10139N/A%changelog
10139N/A* Sat Aug 15 2009 - christian.kelly@sun.com
10139N/A- Bump to 1.4.19.
10139N/A* Fri Jul 31 2009 <jerry.tan@sun.com>
10139N/A- add raptor into spec-files
10139N/A* Tue Feb 12 2008 <pradhap (at) gmail.com>
10139N/A- Bumped up the version to 1.4.14
10139N/A* Mon Nov 06 2006 - Eric Boutilier
10139N/A- Fixed attributes and created devel sub pkg
10139N/A* Wed Sep 27 2006 - Eric Boutilier
10139N/A- Initial spec
10139N/A