automatic update by autodist [release 1.2.2-1mamba;Sun Sep 08 2013]
This commit is contained in:
parent
2af0c11fa3
commit
e21b61632e
145
libSM.spec
Normal file
145
libSM.spec
Normal file
@ -0,0 +1,145 @@
|
||||
Name: libSM
|
||||
Version: 1.2.2
|
||||
Release: 1mamba
|
||||
Summary: X.Org SM library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://x.org
|
||||
Source: http://ftp.x.org/pub/individual/lib/libSM-%{version}.tar.bz2
|
||||
License: MIT
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libuuid-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
|
||||
BuildRequires: lib32-libICE-devel
|
||||
%endif
|
||||
Obsoletes: libXorg
|
||||
|
||||
%description
|
||||
X.Org SM library.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
X.Org SM library.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n lib32-%{name}
|
||||
Summary: X.Org X11 library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib32-%{name}
|
||||
X.Org SM 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 SM library (32 bit).
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%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 \
|
||||
--without-libuuid
|
||||
|
||||
make
|
||||
make install DESTDIR=`pwd`/lib32
|
||||
cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
#%post %{name} -p /sbin/ldconfig
|
||||
#%postun %{name} -p /sbin/ldconfig
|
||||
%post -n lib32-%{name} -p /sbin/ldconfig
|
||||
%postun -n lib32-%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libSM.so.*
|
||||
%doc AUTHORS COPYING ChangeLog
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libSM.a
|
||||
%{_libdir}/libSM.la
|
||||
%{_libdir}/libSM.so
|
||||
%dir %{_includedir}/X11/SM
|
||||
%{_includedir}/X11/SM/*.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_docdir}/libSM
|
||||
|
||||
%ifarch x86_64
|
||||
%files -n lib32-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libSM.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib32-%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libSM.a
|
||||
%{_prefix}/lib/libSM.la
|
||||
%{_prefix}/lib/libSM.so
|
||||
%{_prefix}/lib/pkgconfig/sm.pc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Sep 08 2013 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Mar 05 2012 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Jun 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-2mamba
|
||||
- rebuilt to add pkgconfig provides
|
||||
|
||||
* Sun Aug 09 2009 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Jan 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Sep 10 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
|
||||
- update to 1.0.3
|
||||
|
||||
* Wed Feb 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1qilnx
|
||||
- update to version 1.0.2 by autospec
|
||||
|
||||
* Mon Dec 18 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user