base-specs/raptor.spec
author chrisk
Thu, 15 Apr 2010 16:36:41 +0000
changeset 17842 1cc615f41f16
parent 16573 6a314455c3b0
child 20107 c9bb1ac4aebe
child 21815 e407ac1ee44b
permissions -rw-r--r--
2010-04-15 Christian Kelly <[email protected]> * SUNWperl-xml-parser.spec, SUNWlibpopt.spec, SUNWTiff.spec, SUNWPython25.spec, SUNWgnonlin.spec, SUNWgnome-config-java.spec, SUNWtgnome-tsoljdslabel.spec, SUNWgnome-hex-editor.spec, SUNWgnome-ps-viewer.spec, SUNWopensp.spec, base-specs/gir-repository.spec, base-specs/pygtksourceview.spec, base-specs/tack.spec, base-specs/dbus-glib.spec, base-specs/acroread.spec, base-specs/libgnome.spec, base-specs/raptor.spec, base-specs/ekiga.spec, base-specs/libpng10.spec, base-specs/libffi.spec, base-specs/thunderbird.spec, base-specs/dbus-python.spec, base-specs/firefox.spec, SUNWPython26.spec, SUNWpostrun.spec, SUNWtgnome-tsoljdsdevmgr.spec, SUNWtgnome-tsol-libs.spec, SUNWgnome-dtlogin-integration.spec, closed/SUNWgnome-solaris-branding.spec, closed/SUNWflash-player-plugin.spec, closed/SUNWfsexam.spec, closed/SUNWjds-registration.spec, SUNWjpg.spec, SUNWPython.spec, SUNWxdg-utils.spec, SUNWgnome-terminal-java.spec, SUNWtgnome-tstripe.spec, SUNWtgnome-tsoljdsselmgr.spec, SUNWcheese.spec, SUNWopenjade.spec, SUNWmyspell-dictionary-l10n.spec: Add/Fix License/Vendor/OSR information.

#
# spec file for package raptor
# Copyright (c) 2009 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

%define owner jerrytan

%define OSR 12291:1.4.18

Name:                raptor
Summary:             RDF Parser Library - RDF parser utility
License:             LGPL v2
Version:             1.4.19
Distribution:        Java Desktop System
Vendor:              librdf.org
Group:               System/Libraries
URL:                 http://librdf.org/raptor
Source:              http://download.librdf.org/source/raptor-%{version}.tar.gz
BuildRoot:           %{_tmppath}/%{name}-%{version}-build

# date:2009-09-17    owner:jerrytan type:branding
Patch1:              raptor-01-manpage.diff
Docdir:              %{_defaultdocdir}/doc

%description
Raptor is a free software C library that provides a set of parsers  and
serializers that generate Resource Description Framework (RDF)  triples
by parsing syntaxes or serialize the triples into a syntax.

%package devel
Summary:                 Development package for libraptor
%description devel
This package contains the header files and documentation
needed to develop applications with libraptor

%prep
%setup 
%patch1 -p1

%build

export CFLAGS="%optflags"
export LDFLAGS="%{_ldflags}"

./configure --prefix=%{_prefix}  \
            --libdir=%{_libdir} \
            --includedir=%{_includedir} \
            --mandir=%{_mandir} \
            --enable-static=no

make 

%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README NEWS
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/libraptor.*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_mandir}
%dir %attr (0755, root, bin) %{_mandir}/man1
%{_mandir}/man1/*.1
%dir %attr (0755, root, bin) %{_mandir}/man3
%{_mandir}/man3/*.3

%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtk-doc

%changelog
* Sat Aug 15 2009 - [email protected]
- Bump to 1.4.19.
* Fri Jul 31 2009 <[email protected]>
- add raptor into spec-files
* Tue Feb 12 2008 <pradhap (at) gmail.com>
- Bumped up the version to 1.4.14
* Mon Nov 06 2006 - Eric Boutilier
- Fixed attributes and created devel sub pkg
* Wed Sep 27 2006 - Eric Boutilier
- Initial spec