[packages/cmocka] - new

qboosh qboosh at pld-linux.org
Fri Mar 21 16:22:59 CET 2014


commit 454cf4e261c0bc99fe65b24ae2e18c3597808198
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 21 16:26:11 2014 +0100

    - new

 cmocka.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
---
diff --git a/cmocka.spec b/cmocka.spec
new file mode 100644
index 0000000..bcec952
--- /dev/null
+++ b/cmocka.spec
@@ -0,0 +1,69 @@
+Summary:	Fork of Google's cmockery unit testing framework
+Summary(pl.UTF-8):	Odgałęzienie szkieletu testów jednostkowych cmockery Google'a
+Name:		cmocka
+Version:	0.3.2
+Release:	1
+License:	Apache v2.0
+Group:		Libraries
+#Source0Download: https://open.cryptomilk.org/projects/cmocka/files
+Source0:	https://open.cryptomilk.org/attachments/download/34/%{name}-%{version}.tar.xz
+# Source0-md5:	a497564ff98ebc4241709d62aa1078af
+URL:		http://cmocka.org/
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cmocka is a fork for Google's cmockery unit testing framework
+(<https://code.google.com/p/cmockery/>) to fix bugs and support it in
+future.
+
+%description -l pl.UTF-8
+cmocka to odgałęzienie szkieletu testów jednostkowych cmockery
+Google'a (<https://code.google.com/p/cmockery/>) mające na celu
+poprawienie błędów i wsparcie w przyszłości.
+
+%package devel
+Summary:	Development files for cmocka framework
+Summary(pl.UTF-8):	Pliki programistyczne szkieletu cmocka
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Development files for cmocka framework.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne szkieletu cmocka.
+
+%prep
+%setup -q
+
+%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
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libcmocka.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcmocka.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcmocka.so
+%{_includedir}/cmocka.h
+%{_pkgconfigdir}/cmocka.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmocka.git/commitdiff/454cf4e261c0bc99fe65b24ae2e18c3597808198



More information about the pld-cvs-commit mailing list