Accepting request 373620 from home:pluskalm:branches:M17N
- Install documentation in default location with correct permissions - Use macro for configure - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/373620 OBS-URL: https://build.opensuse.org/package/show/M17N/google-glog?expand=0&rev=7
This commit is contained in:
parent
a90f18f516
commit
0567dd5f3e
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 16 08:14:42 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Install documentation in default location with correct
|
||||||
|
permissions
|
||||||
|
- Use macro for configure
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 29 20:01:48 UTC 2016 - qzhao@suse.com
|
Mon Feb 29 20:01:48 UTC 2016 - qzhao@suse.com
|
||||||
|
|
||||||
|
@ -58,31 +58,26 @@ This package provides development files for libglog0.
|
|||||||
%setup -q -n glog-%{version}
|
%setup -q -n glog-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_docdir}
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_libdir}/*.{a,la}
|
rm -rf %{buildroot}%{_libdir}/*.{a,la}
|
||||||
|
rm -rf %{buildroot}%{_datadir}/doc/glog-*
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
|
||||||
mv %{buildroot}%{_datadir}/doc/glog-%{version}/* %{buildroot}%{_docdir}/%{name}/
|
|
||||||
rm -rf %{buildroot}%{_docdir}/%{name}/INSTALL
|
|
||||||
install COPYING %{buildroot}%{_docdir}/%{name}
|
|
||||||
|
|
||||||
%post -n libglog0 -p /sbin/ldconfig
|
%post -n libglog0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libglog0 -p /sbin/ldconfig
|
%postun -n libglog0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libglog0
|
%files -n libglog0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING
|
||||||
%{_libdir}/libglog.so.0
|
%{_libdir}/libglog.so.0
|
||||||
%{_libdir}/libglog.so.0.0.0
|
%{_libdir}/libglog.so.0.0.0
|
||||||
%doc %{_docdir}/%{name}
|
|
||||||
|
|
||||||
%files -n glog-devel
|
%files -n glog-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING AUTHORS ChangeLog README
|
||||||
%{_includedir}/glog/
|
%{_includedir}/glog/
|
||||||
%{_libdir}/libglog.so
|
%{_libdir}/libglog.so
|
||||||
%{_libdir}/pkgconfig/libglog.pc
|
%{_libdir}/pkgconfig/libglog.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user