diff options
author | dan miller | 2007-10-20 02:49:29 +0000 |
---|---|---|
committer | dan miller | 2007-10-20 02:49:29 +0000 |
commit | e36d23a85ebff914d74bb541558c2b6082b78edb (patch) | |
tree | 54b58fdf162e78af64055282a6035c8d2443389d /libraries/sqlite/unix/sqlite-3.5.1/spec.template | |
parent | * Fixed an issue whereby avatar chat distances were being calculated against ... (diff) | |
download | opensim-SC-e36d23a85ebff914d74bb541558c2b6082b78edb.zip opensim-SC-e36d23a85ebff914d74bb541558c2b6082b78edb.tar.gz opensim-SC-e36d23a85ebff914d74bb541558c2b6082b78edb.tar.bz2 opensim-SC-e36d23a85ebff914d74bb541558c2b6082b78edb.tar.xz |
sqlite source (unix build) added to libraries
Diffstat (limited to 'libraries/sqlite/unix/sqlite-3.5.1/spec.template')
-rw-r--r-- | libraries/sqlite/unix/sqlite-3.5.1/spec.template | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libraries/sqlite/unix/sqlite-3.5.1/spec.template b/libraries/sqlite/unix/sqlite-3.5.1/spec.template new file mode 100644 index 0000000..24c5eae --- /dev/null +++ b/libraries/sqlite/unix/sqlite-3.5.1/spec.template | |||
@@ -0,0 +1,62 @@ | |||
1 | %define name sqlite | ||
2 | %define version SQLITE_VERSION | ||
3 | %define release 1 | ||
4 | |||
5 | Name: %{name} | ||
6 | Summary: SQLite is a C library that implements an embeddable SQL database engine | ||
7 | Version: %{version} | ||
8 | Release: %{release} | ||
9 | Source: %{name}-%{version}.tar.gz | ||
10 | Group: System/Libraries | ||
11 | URL: http://www.hwaci.com/sw/sqlite/ | ||
12 | License: Public Domain | ||
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | ||
14 | |||
15 | %description | ||
16 | SQLite is a C library that implements an embeddable SQL database engine. | ||
17 | Programs that link with the SQLite library can have SQL database access | ||
18 | without running a separate RDBMS process. The distribution comes with a | ||
19 | standalone command-line access program (sqlite) that can be used to | ||
20 | administer an SQLite database and which serves as an example of how to | ||
21 | use the SQLite library. | ||
22 | |||
23 | %package -n %{name}-devel | ||
24 | Summary: Header files and libraries for developing apps which will use sqlite | ||
25 | Group: Development/C | ||
26 | Requires: %{name} = %{version}-%{release} | ||
27 | |||
28 | %description -n %{name}-devel | ||
29 | The sqlite-devel package contains the header files and libraries needed | ||
30 | to develop programs that use the sqlite database library. | ||
31 | |||
32 | %prep | ||
33 | %setup -q -n %{name} | ||
34 | |||
35 | %build | ||
36 | CFLAGS="%optflags -DNDEBUG=1" CXXFLAGS="%optflags -DNDEBUG=1" ./configure --prefix=%{_prefix} | ||
37 | |||
38 | make | ||
39 | make doc | ||
40 | |||
41 | %install | ||
42 | install -d $RPM_BUILD_ROOT/%{_prefix} | ||
43 | install -d $RPM_BUILD_ROOT/%{_prefix}/bin | ||
44 | install -d $RPM_BUILD_ROOT/%{_prefix}/include | ||
45 | install -d $RPM_BUILD_ROOT/%{_prefix}/lib | ||
46 | make install prefix=$RPM_BUILD_ROOT/%{_prefix} | ||
47 | |||
48 | %clean | ||
49 | rm -fr $RPM_BUILD_ROOT | ||
50 | |||
51 | %files | ||
52 | %defattr(-, root, root) | ||
53 | %{_libdir}/*.so* | ||
54 | %{_bindir}/* | ||
55 | |||
56 | %files -n %{name}-devel | ||
57 | %defattr(-, root, root) | ||
58 | %{_libdir}/pkgconfig/sqlite3.pc | ||
59 | %{_libdir}/*.a | ||
60 | %{_libdir}/*.la | ||
61 | %{_includedir}/* | ||
62 | %doc doc/* | ||