Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/sqlite/src/spec.template

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/publish_osx.sh ('k') | third_party/sqlite/src/sqlite.pc.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.sqlite.org/
12 License: Public Domain
13 BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15 %description
16 SQLite is a software library that implements a self-contained, serverless,
17 zero-configuration, transactional SQL database engine.
18 Programs that link with the SQLite library can have SQL database access
19 without running a separate RDBMS process. The distribution comes with a
20 standalone command-line access program (sqlite) that can be used to
21 administer an SQLite database and which serves as an example of how to
22 use the SQLite library.
23
24 %package -n %{name}-devel
25 Summary: Header files and libraries for developing apps which will use sqlite
26 Group: Development/C
27 Requires: %{name} = %{version}-%{release}
28
29 %description -n %{name}-devel
30 The sqlite-devel package contains the header files and libraries needed
31 to develop programs that use the SQLite database library.
32
33 %prep
34 %setup -q -n %{name}
35
36 %build
37 CFLAGS="%optflags -DNDEBUG=1" CXXFLAGS="%optflags -DNDEBUG=1" ./configure --pref ix=%{_prefix}
38
39 make
40 make doc
41
42 %install
43 install -d $RPM_BUILD_ROOT/%{_prefix}
44 install -d $RPM_BUILD_ROOT/%{_prefix}/bin
45 install -d $RPM_BUILD_ROOT/%{_prefix}/include
46 install -d $RPM_BUILD_ROOT/%{_prefix}/lib
47 make install prefix=$RPM_BUILD_ROOT/%{_prefix}
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53 %clean
54 rm -fr $RPM_BUILD_ROOT
55
56 %files
57 %defattr(-, root, root)
58 %{_libdir}/*.so*
59 %{_bindir}/*
60
61 %files -n %{name}-devel
62 %defattr(-, root, root)
63 %{_libdir}/pkgconfig/sqlite3.pc
64 %{_libdir}/*.a
65 %{_libdir}/*.la
66 %{_includedir}/*
67 %doc doc/*
OLDNEW
« no previous file with comments | « third_party/sqlite/src/publish_osx.sh ('k') | third_party/sqlite/src/sqlite.pc.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698