summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 21:08:14 -0800
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-04 13:14:50 +0100
commita41d2bd2570a8b50f580c8a596451d2f50b678fa (patch)
tree79c268d69408415a27baddd9998edb109fd03229
parente219fabcce2be21ddc0663f11727b77a2dcb14a7 (diff)
downloadgdbm-a41d2bd2570a8b50f580c8a596451d2f50b678fa.tar.gz
gdbm-a41d2bd2570a8b50f580c8a596451d2f50b678fa.tar.bz2
gdbm-a41d2bd2570a8b50f580c8a596451d2f50b678fa.zip
add packaging
-rw-r--r--packaging/gdbm.spec11
1 files changed, 4 insertions, 7 deletions
diff --git a/packaging/gdbm.spec b/packaging/gdbm.spec
index e5c79b7..ed86045 100644
--- a/packaging/gdbm.spec
+++ b/packaging/gdbm.spec
@@ -70,10 +70,10 @@ to develop applications that require these.
%setup -q
%build
-aclocal
-autoreconf --force --install
+#aclocal
+#autoreconf --force --install
export CFLAGS="%{optflags} -Wa,--noexecstack"
-%configure --enable-libgdbm-compat
+%configure --enable-libgdbm-compat --disable-nls
make %{?_smp_mflags};
%install
@@ -87,14 +87,11 @@ echo "/* GNU ld script
the static library, so try that secondarily. */
GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_libdir}/libndbm.a
-mkdir -p %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/
-cp -r %{SOURCE3} %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}.mo
-%find_lang %{name}
-
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
+%files -n %lname
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libgdbm.so.4