Accepting request 131178 from home:yecril71pl:branches:Base:System
add documentation (bnc#776532) OBS-URL: https://build.opensuse.org/request/show/131178 OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=49
This commit is contained in:
parent
82b31cf6f7
commit
e521a54b32
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 19 19:22:01 UTC 2012 - giecrilj@stegny.2a.pl
|
||||
|
||||
- add documentation (bnc#776532)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 14 04:06:35 UTC 2012 - crrodriguez@opensuse.org
|
||||
|
||||
|
12
file.spec
12
file.spec
@ -132,7 +132,7 @@ make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)'
|
||||
rm -vf %{buildroot}%{_sysconfdir}/magic
|
||||
echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic
|
||||
echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysconfdir}/magic
|
||||
#install -s dcore %{buildroot}%{_bindir}
|
||||
%{nil install -s dcore %{buildroot}%{_bindir}}
|
||||
# Check out that the binary does not bail out:
|
||||
LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
export LD_LIBRARY_PATH
|
||||
@ -148,18 +148,20 @@ unset LD_LIBRARY_PATH
|
||||
%files
|
||||
%defattr (644,root,root,755)
|
||||
%config(noreplace) %{_sysconfdir}/magic
|
||||
#%{_bindir}/dcore
|
||||
%{nil %{_bindir}/dcore}
|
||||
%attr(755,root,root) %{_bindir}/file
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_miscdir}/magic
|
||||
%{_miscdir}/magic.mgc
|
||||
%attr(644,root,root) %{_mandir}/man1/file.1.gz
|
||||
%attr(644,root,root) %{_mandir}/man5/magic.5.gz
|
||||
%doc %{_mandir}/man1/file.1.gz
|
||||
%doc %{_mandir}/man5/magic.5.gz
|
||||
%doc README COPYING AUTHORS NEWS ChangeLog
|
||||
|
||||
%files -n file-devel
|
||||
%defattr (644,root,root,755)
|
||||
%{_libdir}/lib*.so
|
||||
%{_includedir}/magic.h
|
||||
%attr(644,root,root) %{_mandir}/man3/libmagic.3.gz
|
||||
%doc %{_mandir}/man3/libmagic.3.gz
|
||||
%doc README COPYING AUTHORS NEWS ChangeLog
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user