commit 739abe5c38cb9e36711c6e63fc9aefc9cf24b89b
Author: Jakub Bogusz <[email protected]>
Date:   Sun Oct 3 19:29:06 2021 +0200

    - new

 skcms.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)
---
diff --git a/skcms.spec b/skcms.spec
new file mode 100644
index 0000000..2b96ea6
--- /dev/null
+++ b/skcms.spec
@@ -0,0 +1,84 @@
+Summary:       skcms library from skia project
+Summary(pl.UTF-8):     Biblioteka skcms z projektu skia
+Name:          skcms
+Version:       0
+%define        gitref  a00edc64c48672d6aab25a6122e4bc0ebc2780d9
+%define        snap    20210930
+%define        rel     1
+Release:       0.%{snap}.%{rel}
+License:       BSD
+Group:         Libraries
+Source0:       
https://skia.googlesource.com/skcms/+archive/%{gitref}.tar.gz?/%{name}-%{snap}.tar.gz
+# Source0-md5: d7292b1aa8d76e7d171ad4f2003c8c89
+URL:           https://skia.googlesource.com/skcms
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+skcms library from skia project.
+
+%description -l pl.UTF-8
+Biblioteka skcms z projektu skia.
+
+%package devel
+Summary:       Header files for skcms library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki skcms
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      libstdc++-devel
+
+%description devel
+Header files for skcms library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki skcms.
+
+%package static
+Summary:       Static skcms library
+Summary(pl.UTF-8):     Statyczna biblioteka skcms
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static skcms library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka skcms.
+
+%prep
+%setup -q -c
+
+%build
+libtool --mode=compile --tag=CXX %{__cxx} %{rpmcxxflags} %{rpmcppflags} -c -o 
skcms.lo skcms.cc
+libtool --mode=link --tag=CXX %{__cxx} %{rpmldflags} %{rpmcxxflags} -o 
libskcms.la skcms.lo -rpath %{_libdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+
+libtool --mode=install install libskcms.la $RPM_BUILD_ROOT%{_libdir}
+cp -p skcms.h $RPM_BUILD_ROOT%{_includedir}
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libskcms.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE 
+%attr(755,root,root) %{_libdir}/libskcms.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libskcms.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libskcms.so
+%{_includedir}/skcms.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libskcms.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skcms.git/commitdiff/739abe5c38cb9e36711c6e63fc9aefc9cf24b89b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to