- libXres 1.0.4
This commit is contained in:
parent
8f87085f1b
commit
4e86a2a898
@ -1 +1 @@
|
||||
libXres-1.0.3.tar.bz2
|
||||
libXres-1.0.4.tar.bz2
|
||||
|
25
libXres.spec
25
libXres.spec
@ -1,7 +1,7 @@
|
||||
Summary: X-Resource extension client library
|
||||
Name: libXres
|
||||
Version: 1.0.3
|
||||
Release: 9%{?dist}
|
||||
Version: 1.0.4
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -9,9 +9,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: pkgconfig(xext)
|
||||
|
||||
%description
|
||||
X-Resource is an extension that allows a client to query
|
||||
@ -21,7 +19,6 @@ the X server about its usage of various resources.
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
X.Org X11 libXres development package
|
||||
@ -29,20 +26,14 @@ X.Org X11 libXres development package
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Disable static library creation by default.
|
||||
%define with_static 0
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%if ! %{with_static}
|
||||
--disable-static
|
||||
%endif
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# We intentionally don't ship *.la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
@ -62,15 +53,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/X11/extensions/XRes.h
|
||||
%if %{with_static}
|
||||
%{_libdir}/libXRes.a
|
||||
%endif
|
||||
%{_libdir}/libXRes.so
|
||||
%{_libdir}/pkgconfig/xres.pc
|
||||
#%dir %{_mandir}/man3x
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 13 2009 Adam Jackson <ajax@redhat.com> 1.0.4-1
|
||||
- libXres 1.0.4
|
||||
|
||||
* Thu Aug 13 2009 Parag <paragn@fedoraproject.org> 1.0.3-9
|
||||
- Merge-review cleanups #226086
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user