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
|
Source: gnu-cobol-1.1.tar.gz
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
URL: http://www.opencobol.org/
|
Url: http://www.opencobol.org/
|
||||||
Provides: opencobol = %version
|
Provides: opencobol = %version
|
||||||
Requires: libcob1 = %version
|
Requires: libcob1 = %version
|
||||||
BuildRequires: db-devel gmp-devel ncurses-devel
|
BuildRequires: db-devel gmp-devel ncurses-devel
|
||||||
@ -57,11 +57,11 @@ providing full access to nearly all C libraries.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=/usr --libdir='%{_libdir}' --infodir='%{_infodir}'
|
%configure
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=${RPM_BUILD_ROOT}/ install
|
make DESTDIR=%{buildroot} install
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/gnu-cobol.info.gz %{_infodir}/dir
|
/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
|
%postun -n libcob1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ABOUT-NLS AUTHORS COPYING COPYING.DOC ChangeLog NEWS README THANKS TODO
|
%doc ABOUT-NLS AUTHORS COPYING COPYING.DOC ChangeLog NEWS README THANKS TODO
|
||||||
%lang(ja) /usr/share/locale/ja/LC_MESSAGES/gnu-cobol.mo
|
%lang(ja) /usr/share/locale/ja/LC_MESSAGES/gnu-cobol.mo
|
||||||
/usr/bin/cob-config
|
%{_bindir}/cob-config
|
||||||
/usr/bin/cobc
|
%{_bindir}/cobc
|
||||||
/usr/bin/cobcrun
|
%{_bindir}/cobcrun
|
||||||
%{_infodir}/gnu-cobol.info.gz
|
%{_infodir}/gnu-cobol.info.gz
|
||||||
%{_libdir}/gnu-cobol
|
%{_libdir}/gnu-cobol
|
||||||
/usr/share/gnu-cobol
|
%{_datadir}/gnu-cobol
|
||||||
|
|
||||||
%files -n libcob1
|
%files -n libcob1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
%{_libdir}/libcob.so
|
|
||||||
%{_libdir}/libcob.so.1
|
%{_libdir}/libcob.so.1
|
||||||
%{_libdir}/libcob.so.1.0.0
|
%{_libdir}/libcob.so.1.0.0
|
||||||
|
|
||||||
%files -n libcob-devel
|
%files -n libcob-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/include/libcob.h
|
%{_includedir}/libcob.h
|
||||||
/usr/include/libcob
|
%{_includedir}/libcob
|
||||||
|
%{_libdir}/libcob.so
|
||||||
%{_libdir}/libcob.a
|
%{_libdir}/libcob.a
|
||||||
%{_libdir}/libcob.la
|
%{_libdir}/libcob.la
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user