add packaging accepted/tizen/20130503.223011 submit/tizen/20130503.210008 submit/tizen/20130509.180139
authorAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 21:43:00 +0000 (13:43 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 21:43:00 +0000 (13:43 -0800)
packaging/gperf.spec [new file with mode: 0644]

diff --git a/packaging/gperf.spec b/packaging/gperf.spec
new file mode 100644 (file)
index 0000000..f0c7e96
--- /dev/null
@@ -0,0 +1,44 @@
+Name:           gperf
+Version:        3.0.4
+Release:        1
+License:        GPL-2.0+
+Summary:        A perfect hash function generator
+Url:            http://www.gnu.org/software/gperf/
+Group:          Development/Tools
+Source0:        ftp://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:  gcc-c++
+
+%description
+GNU gperf is a perfect hash function generator. For a given list of strings, it
+produces a hash function and hash table, in form of C or C++ code, for looking
+up a value depending on the input string. The hash function is perfect, which
+means that the hash table has no collisions, and the hash table lookup needs
+a single string comparison only.
+
+%prep
+%setup -q
+
+
+%build
+
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -f %{buildroot}%{_datadir}/doc/gperf.html
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc NEWS README doc/gperf.html
+%doc %{_mandir}/man1/gperf.1*
+%doc %{_infodir}/gperf.info*
+%{_bindir}/%{name}
+
+