Browse files

Added ldconfig invocations for postinstall and postuninstall. Updated…

… package URL and description to match the current website. (CVS 5287)
  • Loading branch information...
1 parent 52700a4 commit 8ca2b987d0884dcfac28e93fd33022756faa9507 Unknown committed Jun 23, 2008
Showing with 8 additions and 3 deletions.
  1. +8 −3 spec.template
View
11 spec.template
@@ -8,12 +8,13 @@ Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Group: System/Libraries
-URL: http://www.hwaci.com/sw/sqlite/
+URL: http://www.sqlite.org/
License: Public Domain
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
-SQLite is a C library that implements an embeddable SQL database engine.
+SQLite is a software library that implements a self-contained, serverless,
+zero-configuration, transactional SQL database engine.
Programs that link with the SQLite library can have SQL database access
without running a separate RDBMS process. The distribution comes with a
standalone command-line access program (sqlite) that can be used to
@@ -27,7 +28,7 @@ Requires: %{name} = %{version}-%{release}
%description -n %{name}-devel
The sqlite-devel package contains the header files and libraries needed
-to develop programs that use the sqlite database library.
+to develop programs that use the SQLite database library.
%prep
%setup -q -n %{name}
@@ -45,6 +46,10 @@ install -d $RPM_BUILD_ROOT/%{_prefix}/include
install -d $RPM_BUILD_ROOT/%{_prefix}/lib
make install prefix=$RPM_BUILD_ROOT/%{_prefix}
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%clean
rm -fr $RPM_BUILD_ROOT

0 comments on commit 8ca2b98

Please sign in to comment.