Install docs to %{_pkgdocdir} where available (#993836).
- Fix bogus date in %changelog.
This commit is contained in:
parent
17b1d41bfd
commit
5bb38d11e6
26
libXaw.spec
26
libXaw.spec
@ -1,7 +1,9 @@
|
|||||||
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
Summary: X Athena Widget Set
|
Summary: X Athena Widget Set
|
||||||
Name: libXaw
|
Name: libXaw
|
||||||
Version: 1.0.11
|
Version: 1.0.11
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -33,7 +35,7 @@ X.Org X11 libXaw development package
|
|||||||
autoreconf -v --install --force
|
autoreconf -v --install --force
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -Os"
|
export CFLAGS="$RPM_OPT_FLAGS -Os"
|
||||||
%configure \
|
%configure \
|
||||||
--docdir=%{_docdir}/%{name}-%{version}-%{release} \
|
--docdir=%{_pkgdocdir} \
|
||||||
--disable-xaw8 --disable-static \
|
--disable-xaw8 --disable-static \
|
||||||
--disable-xaw6
|
--disable-xaw6
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -42,6 +44,7 @@ make %{?_smp_mflags}
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
|
install -pm 644 COPYING README ChangeLog $RPM_BUILD_ROOT%{_pkgdocdir}
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -52,7 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README ChangeLog
|
%dir %{_pkgdocdir}
|
||||||
|
%{_pkgdocdir}/ChangeLog
|
||||||
|
%{_pkgdocdir}/COPYING
|
||||||
|
%{_pkgdocdir}/README
|
||||||
%{_libdir}/libXaw.so.7
|
%{_libdir}/libXaw.so.7
|
||||||
%{_libdir}/libXaw7.so.7
|
%{_libdir}/libXaw7.so.7
|
||||||
%{_libdir}/libXaw7.so.7.0.0
|
%{_libdir}/libXaw7.so.7.0.0
|
||||||
@ -60,7 +66,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %{_includedir}/X11/Xaw
|
%dir %{_includedir}/X11/Xaw
|
||||||
%doc COPYING
|
|
||||||
%{_includedir}/X11/Xaw/*.h
|
%{_includedir}/X11/Xaw/*.h
|
||||||
# FIXME: Is this C file really supposed to be here?
|
# FIXME: Is this C file really supposed to be here?
|
||||||
%{_includedir}/X11/Xaw/Template.c
|
%{_includedir}/X11/Xaw/Template.c
|
||||||
@ -68,12 +73,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libXaw7.so
|
%{_libdir}/libXaw7.so
|
||||||
%{_libdir}/pkgconfig/xaw7.pc
|
%{_libdir}/pkgconfig/xaw7.pc
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
%dir %{_docdir}/%{name}-%{version}-%{release}
|
%{_pkgdocdir}/*.xml
|
||||||
%{_docdir}/%{name}-%{version}-%{release}/*.xml
|
#{_pkgdocdir}/%{name}.html
|
||||||
#{_docdir}/%{name}-%{version}-%{release}/%{name}.html
|
#{_pkgdocdir}/%{name}.txt
|
||||||
#{_docdir}/%{name}-%{version}-%{release}/%{name}.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 9 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.0.11-7
|
||||||
|
- Install docs to %%{_pkgdocdir} where available (#993836).
|
||||||
|
- Fix bogus date in %%changelog.
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-6
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.11-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
@ -229,7 +237,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Add missing documentation files to doc macro
|
- Add missing documentation files to doc macro
|
||||||
- Fix all "BuildRequires:" deps with s/xorg-x11-//g
|
- Fix all "BuildRequires:" deps with s/xorg-x11-//g
|
||||||
|
|
||||||
* Wed Aug 25 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
|
* Thu Aug 25 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
|
||||||
- Added dependency on xorg-x11-libXmu-devel to devel subpackage, as libXaw
|
- Added dependency on xorg-x11-libXmu-devel to devel subpackage, as libXaw
|
||||||
headers include libXmu headers directly which caused xkbutils to fail to
|
headers include libXmu headers directly which caused xkbutils to fail to
|
||||||
build.
|
build.
|
||||||
|
Loading…
Reference in New Issue
Block a user