- Merge-review cleanup (#226087)
This commit is contained in:
parent
6003ad5d5d
commit
fb73be15d5
@ -1,16 +1,15 @@
|
|||||||
Summary: X.Org X11 libXss runtime library
|
Summary: X.Org X11 libXss runtime library
|
||||||
Name: libXScrnSaver
|
Name: libXScrnSaver
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-proto-devel >= 7.0-9
|
BuildRequires: xorg-x11-proto-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
|
|
||||||
@ -28,50 +27,36 @@ X.Org X11 libXss development package
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# Disable static library creation by default.
|
|
||||||
%define with_static 0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
|
# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure \
|
%configure --disable-static
|
||||||
%if ! %{with_static}
|
make %{?_smp_mflags}
|
||||||
--disable-static
|
|
||||||
%endif
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
# We intentionally don't ship *.la files
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING README ChangeLog
|
%doc COPYING README ChangeLog
|
||||||
%{_libdir}/libXss.so.1
|
%{_libdir}/libXss.so.1
|
||||||
%{_libdir}/libXss.so.1.0.0
|
%{_libdir}/libXss.so.1.0.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%if %{with_static}
|
|
||||||
%{_libdir}/libXss.a
|
|
||||||
%endif
|
|
||||||
%{_libdir}/libXss.so
|
%{_libdir}/libXss.so
|
||||||
%{_libdir}/pkgconfig/xscrnsaver.pc
|
%{_libdir}/pkgconfig/xscrnsaver.pc
|
||||||
#%dir %{_mandir}/man3x
|
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
%{_includedir}/X11/extensions/scrnsaver.h
|
%{_includedir}/X11/extensions/scrnsaver.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 14 2010 Parag Nemade <paragn AT fedoraproject.org> 1.2.0-2
|
||||||
|
- Merge-review cleanup (#226087)
|
||||||
|
|
||||||
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.0-1
|
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.0-1
|
||||||
- libXScrnSaver 1.2.0
|
- libXScrnSaver 1.2.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user