]> git.pld-linux.org Git - packages/redland.git/blob - redland.spec
065638fefe9c0239dc3fba5f14273f14ec39b483
[packages/redland.git] / redland.spec
1 # TODO: various language support (java, perl, php, python, ruby, tcl)
2 Summary:        Redland - a library that provides a high-level interface for RDF
3 Summary(pl):    Redland - biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF
4 Name:           redland
5 Version:        0.9.12
6 Release:        0.1
7 License:        LGPL v2 or MPL 1.1
8 Group:          Libraries
9 Source0:        http://www.redland.opensource.ac.uk/dist/source/%{name}-%{version}.tar.gz
10 # Source0-md5:  545ffc5e1da2e240392b0dbe32afa821
11 Patch0:         %{name}-system-raptor.patch
12 Patch1:         %{name}-amfix.patch
13 URL:            http://www.redland.opensource.ac.uk/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  db-devel
17 # expat for repat
18 BuildRequires:  expat-devel
19 BuildRequires:  libraptor-devel
20 BuildRequires:  libtool
21 BuildRequires:  openssl-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Redland is a library that provides a high-level interface for RDF
26 allowing the RDF graph to be parsed from XML, stored, queried and
27 manipulated. Redland implements each of the RDF concepts in its own
28 class via an object based API, reflected into the other language APIs:
29 Perl, Python, Tcl, Java and Ruby. Some of the classes providing the
30 parsers, storage mechanisms and other elements are built as modules
31 that can be added or removed as required.
32
33 %description -l pl
34 Redland to biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF,
35 pozwalaj±ca na analizê grafu RDF z XML, jego przechowywanie,
36 odpytywanie i obróbkê. Redland zawiera implementacje ka¿dego pojêcia z
37 RDF w odobnej klasie poprzez obiekt oparty na API, maj±cy
38 odzwierciedlenie w API dla innych jêzyków: Perla, Pythona, Tcl-a, Javy
39 i Ruby'ego. Czê¶æ klas udostêpniaj±cych analizatory, mechanizmy
40 przechowywania i inne elementy jest zbudowana jako modu³y, które mog±
41 byæ dodawane lub usuwane w razie potrzeby.
42
43 %package devel
44 Summary:        Headers for Redland RDF library
45 Summary(pl):    Pliki nag³ówkowe biblioteki Redland RDF
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}
48
49 %description devel
50 Headers for Redland RDF library.
51
52 %description devel -l pl
53 Pliki nag³ówkowe biblioteki Redland RDF.
54
55 %package static
56 Summary:        Static Redland RDF library
57 Summary(pl):    Statyczna biblioteka Redland RDF
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}
60
61 %description static
62 Static Redland RDF library.
63
64 %description static -l pl
65 Statyczna biblioteka Redland RDF.
66
67 %package rapper
68 Summary:        Raptor RDF parser test program with Redland RDF support
69 Summary(pl):    Testowy program parsera Raptor RDF ze wsparciem dla Redland RDF
70 Group:          Applications
71 Requires:       %{name} = %{version}
72
73 %description rapper
74 Raptor RDF parser test program with Redland RDF support.
75
76 %description rapper -l pl
77 Testowy program parsera Raptor RDF ze wsparciem dla Redland RDF.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82 %patch1 -p1
83
84 %build
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 cd raptor
91 %{__aclocal}
92 %{__autoconf}
93 %{__autoheader}
94 # don't use -f here
95 automake -a -c --foreign
96 cd ..
97 %configure
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog FAQS.html LICENSE.html NEWS.html README.html RELEASE.html TODO.html
116 %attr(755,root,root) %{_bindir}/redland-db-upgrade
117 %attr(755,root,root) %{_libdir}/librdf.so.*.*.*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %doc docs/{README.html,overview.png,api}
122 %attr(755,root,root) %{_bindir}/redland-config
123 %attr(755,root,root) %{_libdir}/librdf.so
124 %{_libdir}/librdf.la
125 %{_includedir}/librdf.h
126 %{_includedir}/rdf_*.h
127 %{_includedir}/redland.h
128 %{_mandir}/man3/redland.3*
129
130 %files static
131 %defattr(644,root,root,755)
132 %{_libdir}/librdf.a
133
134 %files rapper
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_bindir}/rapper
137 %{_mandir}/man1/rapper.1*
This page took 0.023915 seconds and 2 git commands to generate.