rpms/libdmx/devel libdmx.spec,1.19,1.20

Adam Jackson ajax at fedoraproject.org
Sat Feb 21 20:03:32 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/libdmx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30973

Modified Files:
	libdmx.spec 
Log Message:
* Sat Feb 21 2009 Adam Jackson <ajax at redhat.com> 1.0.2-7
- Package review cleanups. (#225998)



Index: libdmx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdmx/devel/libdmx.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- libdmx.spec	15 Jul 2008 17:32:17 -0000	1.19
+++ libdmx.spec	21 Feb 2009 20:03:00 -0000	1.20
@@ -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 @@
 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 @@
 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 @@
 %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 @@
 
 %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 at redhat.com> 1.0.2-7
+- Package review cleanups. (#225998)
+
 * Tue Jul 15 2008 Adam Jackson <ajax at redhat.com> 1.0.2-6
 - Fix license tag.
 




More information about the fedora-extras-commits mailing list