From 38959ffab38e57bd3eda895f1da870285406496a8aeae49dfe43ca3d974af10a Mon Sep 17 00:00:00 2001 From: Takashi Tanigawa Date: Thu, 1 May 2014 07:54:45 +0000 Subject: [PATCH] Accepting request 232284 from home:Mailaender:branches:devel:languages:misc small cleanup OBS-URL: https://build.opensuse.org/request/show/232284 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/gnu-cobol?expand=0&rev=2 --- gnu-cobol.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu-cobol.spec b/gnu-cobol.spec index 44066ec..c070a0a 100644 --- a/gnu-cobol.spec +++ b/gnu-cobol.spec @@ -22,7 +22,7 @@ Release: 0 Source: gnu-cobol-1.1.tar.gz License: GPL-2.0+ Group: Development/Languages/Other -URL: http://www.opencobol.org/ +Url: http://www.opencobol.org/ Provides: opencobol = %version Requires: libcob1 = %version BuildRequires: db-devel gmp-devel ncurses-devel @@ -57,11 +57,11 @@ providing full access to nearly all C libraries. %patch1 -p1 %build -./configure --prefix=/usr --libdir='%{_libdir}' --infodir='%{_infodir}' +%configure make %install -make DESTDIR=${RPM_BUILD_ROOT}/ install +make DESTDIR=%{buildroot} install %post /sbin/install-info %{_infodir}/gnu-cobol.info.gz %{_infodir}/dir @@ -73,29 +73,29 @@ make DESTDIR=${RPM_BUILD_ROOT}/ install %postun -n libcob1 -p /sbin/ldconfig -%clean - %files %defattr(-,root,root) %doc ABOUT-NLS AUTHORS COPYING COPYING.DOC ChangeLog NEWS README THANKS TODO %lang(ja) /usr/share/locale/ja/LC_MESSAGES/gnu-cobol.mo -/usr/bin/cob-config -/usr/bin/cobc -/usr/bin/cobcrun +%{_bindir}/cob-config +%{_bindir}/cobc +%{_bindir}/cobcrun %{_infodir}/gnu-cobol.info.gz %{_libdir}/gnu-cobol -/usr/share/gnu-cobol +%{_datadir}/gnu-cobol %files -n libcob1 %defattr(-,root,root) %doc COPYING.LIB -%{_libdir}/libcob.so %{_libdir}/libcob.so.1 %{_libdir}/libcob.so.1.0.0 %files -n libcob-devel %defattr(-,root,root) -/usr/include/libcob.h -/usr/include/libcob +%{_includedir}/libcob.h +%{_includedir}/libcob +%{_libdir}/libcob.so %{_libdir}/libcob.a %{_libdir}/libcob.la + +%changelog \ No newline at end of file