From 242aab578761cc16fd21e8f5806070ddf0f4a2dc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:37:19 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.8-1mamba;Mon Mar 05 2012] --- README.md | 2 + libICE.spec | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) create mode 100644 libICE.spec diff --git a/README.md b/README.md index db476c1..c4b6426 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libICE +X.Org ICE library. + diff --git a/libICE.spec b/libICE.spec new file mode 100644 index 0000000..eeb6450 --- /dev/null +++ b/libICE.spec @@ -0,0 +1,133 @@ +Name: libICE +Version: 1.0.8 +Release: 1mamba +Summary: X.Org ICE library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://x.org +Source: ftp://ftp.x.org/pub/individual/lib/libICE-%{version}.tar.bz2 +License: MIT +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: xproto-devel +## AUTOBUILDREQ-END +BuildRequires: xorg-proto-devel >= 7.1 +BuildRequires: xorg-xtrans-devel >= 1.0 +%ifarch x86_64 +BuildRequires: gcc-multilib +BuildRequires: glibc-multilib-devel +%endif +Obsoletes: libXorg + +%description +X.Org ICE library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +X.Org ICE library. +This package contains static libraries and header files needed for development. + +%package -n lib32-%{name} +Summary: X.Org ICE library +Group: System/Libraries + +%description -n lib32-%{name} +X.Org ICE library (32 bit). + +%package -n lib32-%{name}-devel +Summary: Devel package for lib32-%{name} +Group: Development/Libraries +Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib32-%{name}-devel +X.Org ICE library (32 bit). +This package contains static libraries and header files needed for development. + +%prep +%setup -q -n libICE-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%ifarch x86_64 +# x86_64 lib64 support +make clean +CC=%{_target_platform}-gcc \ +CFLAGS="%{optflags} -m32" \ +CXXLAGS="%{optflags} -m32" \ +./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib + +make +make install DESTDIR=`pwd`/lib32 +cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/ +%endif + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libICE.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_libdir}/libICE.a +%{_libdir}/libICE.la +%{_libdir}/libICE.so +%dir %{_includedir}/X11/ICE +%{_includedir}/X11/ICE/*.h +%{_libdir}/pkgconfig/*.pc +%{_docdir}/libICE +%doc ChangeLog + +%ifarch x86_64 +%files -n lib32-%{name} +%defattr(-,root,root) +%{_prefix}/lib/libICE.so.* +%doc AUTHORS COPYING + +%files -n lib32-%{name}-devel +%defattr(-,root,root) +%{_prefix}/lib/libICE.a +%{_prefix}/lib/libICE.la +%{_prefix}/lib/libICE.so +%{_prefix}/lib/pkgconfig/ice.pc +%endif + +%changelog +* Mon Mar 05 2012 Automatic Build System 1.0.8-1mamba +- automatic version update by autodist + +* Tue Nov 09 2010 Automatic Build System 1.0.7-1mamba +- automatic update by autodist + +* Sat Jun 26 2010 Silvan Calarco 1.0.6-2mamba +- rebuilt to add pkgconfig provides + +* Thu Sep 03 2009 Automatic Build System 1.0.6-1mamba +- automatic update by autodist + +* Tue Jan 27 2009 Silvan Calarco 1.0.5-1mamba +- automatic update by autodist + +* Mon Sep 10 2007 Silvan Calarco 1.0.4-1mamba +- update to 1.0.4 + +* Wed Jan 03 2007 Silvan Calarco 1.0.3-1qilnx +- update to version 1.0.3 by autospec + +* Mon Dec 18 2006 Silvan Calarco 1.0.1-1qilnx +- package created by autospec