packages: libc++/libc++.spec (NEW) i solve problems

wolf wolf at pld-linux.org
Sun Apr 3 18:20:04 CEST 2011


Author: wolf                         Date: Sun Apr  3 16:20:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
i solve problems

---- Files affected:
packages/libc++:
   libc++.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libc++/libc++.spec
diff -u /dev/null packages/libc++/libc++.spec:1.1
--- /dev/null	Sun Apr  3 18:20:04 2011
+++ packages/libc++/libc++.spec	Sun Apr  3 18:19:59 2011
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+%define		revision	128787
+Summary:	C++ standard library
+Summary(pl.UTF-8):	Biblioteka standardowa C++
+Name:		libc++
+Version:	0.0.%{revision}
+Release:	1
+License:	MIT/UIUC
+Group:		Development
+Source0:	libcxx-%{revision}.tar.xz
+# Source0-md5:	61a9fcd07951998bc8c3203f5c41954d
+BuildRequires:	clang
+BuildRequires:	cmake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		__cc	clang
+%define		__cxx	clang++
+%define		no_install_post_check_so	1
+
+%description
+libc++ is a new implementation of the C++ standard library, targeting C++0X.
+
+%package devel
+Summary:	libc++ devel
+Group:		Development
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+libc++ devel.
+
+%prep
+%setup -q -n libcxx
+
+%build
+install -d build
+cd build
+%{cmake} ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS.TXT
+%attr(755,root,root) %{_libdir}/libc++.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libc++.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libc++.so
+%{_includedir}/c++
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/04/03 16:19:59  wolf
+i solve problems
+
================================================================


More information about the pld-cvs-commit mailing list