]> git.pld-linux.org Git - packages/cmocka.git/commitdiff
- new auto/th/cmocka-0.3.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 21 Mar 2014 15:26:11 +0000 (16:26 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 21 Mar 2014 15:26:11 +0000 (16:26 +0100)
cmocka.spec [new file with mode: 0644]

diff --git a/cmocka.spec b/cmocka.spec
new file mode 100644 (file)
index 0000000..bcec952
--- /dev/null
@@ -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
This page took 0.095395 seconds and 4 git commands to generate.