- Package review cleanups. (#225998)
This commit is contained in:
parent
3f4379bfdf
commit
8c4c4d82bd
29
libdmx.spec
29
libdmx.spec
@ -1,7 +1,7 @@
|
||||
Summary: X.Org X11 libdmx runtime library
|
||||
Name: libdmx
|
||||
Version: 1.0.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -10,12 +10,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: xorg-x11-proto-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXau-devel
|
||||
|
||||
Obsoletes: XFree86-libs, xorg-x11-libs
|
||||
|
||||
%description
|
||||
X.Org X11 libdmx runtime library
|
||||
@ -25,11 +20,8 @@ Summary: X.Org X11 libdmx development package
|
||||
Group: Development/Libraries
|
||||
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
# needed for dmx.pc
|
||||
Requires: xorg-x11-proto-devel
|
||||
|
||||
Obsoletes: XFree86-devel, xorg-x11-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
X.Org X11 libdmx development package
|
||||
@ -38,13 +30,9 @@ X.Org X11 libdmx development package
|
||||
%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
|
||||
@ -62,21 +50,20 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README ChangeLog
|
||||
%doc COPYING ChangeLog
|
||||
%{_libdir}/libdmx.so.1
|
||||
%{_libdir}/libdmx.so.1.0.0
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%if %{with_static}
|
||||
%{_libdir}/libdmx.a
|
||||
%endif
|
||||
%{_libdir}/libdmx.so
|
||||
%{_libdir}/pkgconfig/dmx.pc
|
||||
#%dir %{_mandir}/man3x
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Sat Feb 21 2009 Adam Jackson <ajax@redhat.com> 1.0.2-7
|
||||
- Package review cleanups. (#225998)
|
||||
|
||||
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-6
|
||||
- Fix license tag.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user