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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tools/nixysa/third_party/gflags-1.0/packages/rpm/rpm.spec
===================================================================
--- tools/nixysa/third_party/gflags-1.0/packages/rpm/rpm.spec (revision 0)
+++ tools/nixysa/third_party/gflags-1.0/packages/rpm/rpm.spec (revision 0)
@@ -0,0 +1,74 @@
+%define RELEASE 1
+%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
+%define prefix /usr
+
+Name: %NAME
+Summary: A commandline flags library that allows for distributed flags
+Version: %VERSION
+Release: %rel
+Group: Development/Libraries
+URL: http://code.google.com/p/google-gflags
+License: BSD
+Vendor: Google
+Packager: Google Inc. <opensource@google.com>
+Source: http://%{NAME}.googlecode.com/files/%{NAME}-%{VERSION}.tar.gz
+Distribution: Redhat 7 and above.
+Buildroot: %{_tmppath}/%{name}-root
+Prefix: %prefix
+
+%description
+The %name package contains a library that implements commandline flags
+processing. As such it's a replacement for getopt(). It has increased
+flexibility, including built-in support for C++ types like string, and
+the ability to define flags in the source file in which they're used.
+
+%package devel
+Summary: A commandline flags library that allows for distributed flags
+Group: Development/Libraries
+Requires: %{NAME} = %{VERSION}
+
+%description devel
+The %name-devel package contains static and debug libraries and header
+files for developing applications that use the %name package.
+
+%changelog
+ * Tue Dec 13 2006 <opensource@google.com>
+ - First draft
+
+%prep
+%setup
+
+%build
+./configure
+make prefix=%prefix
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make prefix=$RPM_BUILD_ROOT%{prefix} install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+
+## Mark all installed files within /usr/share/doc/{package name} as
+## documentation. This depends on the following two lines appearing in
+## Makefile.am:
+## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
+## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
+%docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
+%{prefix}/share/doc/%{NAME}-%{VERSION}/*
+
+%{prefix}/lib/libgflags.so.0
+%{prefix}/lib/libgflags.so.0.0.0
+%{prefix}/bin/gflags_completions.sh
+
+%files devel
+%defattr(-,root,root)
+
+%{prefix}/include/google
+%{prefix}/include/gflags
+%{prefix}/lib/libgflags.a
+%{prefix}/lib/libgflags.la
+%{prefix}/lib/libgflags.so
« 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