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

Side by Side Diff: tools/nixysa/third_party/gflags-1.0/packages/rpm/rpm.spec

Issue 2043006: WTF NPAPI extension. Early draft. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 7 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 %define RELEASE 1
2 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
3 %define prefix /usr
4
5 Name: %NAME
6 Summary: A commandline flags library that allows for distributed flags
7 Version: %VERSION
8 Release: %rel
9 Group: Development/Libraries
10 URL: http://code.google.com/p/google-gflags
11 License: BSD
12 Vendor: Google
13 Packager: Google Inc. <opensource@google.com>
14 Source: http://%{NAME}.googlecode.com/files/%{NAME}-%{VERSION}.tar.gz
15 Distribution: Redhat 7 and above.
16 Buildroot: %{_tmppath}/%{name}-root
17 Prefix: %prefix
18
19 %description
20 The %name package contains a library that implements commandline flags
21 processing. As such it's a replacement for getopt(). It has increased
22 flexibility, including built-in support for C++ types like string, and
23 the ability to define flags in the source file in which they're used.
24
25 %package devel
26 Summary: A commandline flags library that allows for distributed flags
27 Group: Development/Libraries
28 Requires: %{NAME} = %{VERSION}
29
30 %description devel
31 The %name-devel package contains static and debug libraries and header
32 files for developing applications that use the %name package.
33
34 %changelog
35 * Tue Dec 13 2006 <opensource@google.com>
36 - First draft
37
38 %prep
39 %setup
40
41 %build
42 ./configure
43 make prefix=%prefix
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 make prefix=$RPM_BUILD_ROOT%{prefix} install
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(-,root,root)
54
55 ## Mark all installed files within /usr/share/doc/{package name} as
56 ## documentation. This depends on the following two lines appearing in
57 ## Makefile.am:
58 ## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
59 ## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
60 %docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
61 %{prefix}/share/doc/%{NAME}-%{VERSION}/*
62
63 %{prefix}/lib/libgflags.so.0
64 %{prefix}/lib/libgflags.so.0.0.0
65 %{prefix}/bin/gflags_completions.sh
66
67 %files devel
68 %defattr(-,root,root)
69
70 %{prefix}/include/google
71 %{prefix}/include/gflags
72 %{prefix}/lib/libgflags.a
73 %{prefix}/lib/libgflags.la
74 %{prefix}/lib/libgflags.so
OLDNEW
« no previous file with comments | « tools/nixysa/third_party/gflags-1.0/packages/rpm.sh ('k') | tools/nixysa/third_party/gflags-1.0/python/gflags.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698