xorg-x11-libXt/xorg-x11-libXt.spec

changeset 13
50e3a83e4f0b
parent 12
94a28e1a8def
equal deleted inserted replaced
0:ada3c1ce6e4a 1:237e5cdaef06
21 Name: xorg-x11-libXt 21 Name: xorg-x11-libXt
22 %define dirsuffix 1.0.9 22 %define dirsuffix 1.0.9
23 BuildRequires: fdupes pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel 23 BuildRequires: fdupes pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
24 Url: http://xorg.freedesktop.org/ 24 Url: http://xorg.freedesktop.org/
25 Version: 7.6_%{dirsuffix} 25 Version: 7.6_%{dirsuffix}
26 Release: 4.1 26 Release: 4.2
27 Vendor: Europalab Software 27 Vendor: Europalab Software
28 Packager: Europalab Software 28 Packager: Europalab Software
29 License: MIT License (or similar) 29 License: MIT License (or similar)
30 BuildRoot: %{_tmppath}/%{name}-%{version}-build 30 BuildRoot: %{_tmppath}/%{name}-%{version}-build
31 Group: System/Libraries 31 Group: System/Libraries
64 64
65 %build 65 %build
66 autoreconf -fi 66 autoreconf -fi
67 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ 67 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
68 %configure --disable-silent-rules \ 68 %configure --disable-silent-rules \
69 %if %suse_version > 1110 69 --enable-static \
70 --disable-static \
71 %endif
72 --with-pic 70 --with-pic
73 %{__make} %{?jobs:-j%jobs} 71 %{__make} %{?jobs:-j%jobs}
74 72
75 %install 73 %install
76 make install DESTDIR=$RPM_BUILD_ROOT 74 make install DESTDIR=$RPM_BUILD_ROOT
77 mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults 75 mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults
78 %if %suse_version > 1110
79 %{__rm} -f %{buildroot}%{_libdir}/*.la
80 %endif
81 %fdupes -s $RPM_BUILD_ROOT/%_mandir 76 %fdupes -s $RPM_BUILD_ROOT/%_mandir
82 77
83 %clean 78 %clean
84 rm -rf "$RPM_BUILD_ROOT" 79 rm -rf "$RPM_BUILD_ROOT"
85 80
100 %defattr(-,root,root) 95 %defattr(-,root,root)
101 /usr/include/X11/*.h 96 /usr/include/X11/*.h
102 %{_libdir}/*.so 97 %{_libdir}/*.so
103 %{_libdir}/pkgconfig/*.pc 98 %{_libdir}/pkgconfig/*.pc
104 %{_mandir}/man3/* 99 %{_mandir}/man3/*
105 %if %suse_version <= 1110
106 %{_libdir}/*.a 100 %{_libdir}/*.a
107 %{_libdir}/*.la 101 %{_libdir}/*.la
108 %endif
109 102
110 %changelog 103 %changelog
104 * Sun May 8 2011 michael@schloh.com
105 - Reintroduced static library in dev package.
111 * Tue Dec 21 2010 sndirsch@novell.com 106 * Tue Dec 21 2010 sndirsch@novell.com
112 - bumped version number to 7.6_1.0.9 107 - bumped version number to 7.6_1.0.9
113 * Wed Dec 1 2010 jslaby@suse.de 108 * Wed Dec 1 2010 jslaby@suse.de
114 - revert 'export only public API symbols' 109 - revert 'export only public API symbols'
115 it breaks xterm, xclock and others 110 it breaks xterm, xclock and others

mercurial