]> git.pld-linux.org Git - packages/yaml-cpp.git/commitdiff
- new auto/th/yaml-cpp-0.3.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Jul 2012 15:29:37 +0000 (17:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Jul 2012 15:29:37 +0000 (17:29 +0200)
yaml-cpp.spec [new file with mode: 0644]

diff --git a/yaml-cpp.spec b/yaml-cpp.spec
new file mode 100644 (file)
index 0000000..d2bec7a
--- /dev/null
@@ -0,0 +1,66 @@
+# $Revision: 1.21 $, $Date: 2011/07/16 18:25:43 $
+Summary:       YAML parser and emitter for C++
+Summary(pl.UTF-8):     Biblioteka C++ analizująca i generująca YAML
+Name:          yaml-cpp
+Version:       0.3.0
+Release:       1
+License:       MIT
+Group:         Libraries
+#Source0Download: http://code.google.com/p/yaml-cpp/downloads/list
+Source0:       http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: 9aa519205a543f9372bf4179071c8ac6
+URL:           http://code.google.com/p/yaml-cpp/
+BuildRequires: cmake >= 2.6
+BuildRequires: libstdc++-devel
+BuildRequires: rpmbuild(macros) >= 1.605
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+YAML parser and emitter for C++.
+
+%description -l pl.UTF-8
+Biblioteka C++ analizująca i generująca YAML.
+
+%package devel
+Summary:       Header files for yaml-cpp library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki yaml-cpp
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      libstdc++-devel
+
+%description devel
+Header files for yaml-cpp library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki yaml-cpp.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%cmake .
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} 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 license.txt
+%attr(755,root,root) %{_libdir}/libyaml-cpp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libyaml-cpp.so
+%{_includedir}/yaml-cpp
+%{_pkgconfigdir}/yaml-cpp.pc
This page took 0.097111 seconds and 4 git commands to generate.