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
This commit is contained in:
parent
7c12801322
commit
38959ffab3
@ -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
|
Loading…
Reference in New Issue
Block a user