packages: nickle-cairo/nickle-cairo.spec (NEW)=?UTF-8?Q?=20?=- new
qboosh
qboosh at pld-linux.org
Tue Mar 13 16:58:03 CET 2012
Author: qboosh Date: Tue Mar 13 15:58:03 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/nickle-cairo:
nickle-cairo.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/nickle-cairo/nickle-cairo.spec
diff -u /dev/null packages/nickle-cairo/nickle-cairo.spec:1.1
--- /dev/null Tue Mar 13 16:58:03 2012
+++ packages/nickle-cairo/nickle-cairo.spec Tue Mar 13 16:57:58 2012
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+Summary: Cairo-5c - Nickle bindings for the Cairo graphics library
+Summary(pl.UTF-8): Cairo-5c - wiązania języka Nickle do biblioteki graficznej Cairo
+Name: nickle-cairo
+Version: 1.5
+Release: 1
+License: LGPL v2.1 or MPL v1.1
+Group: Libraries
+Source0: http://cairographics.org/releases/cairo-5c-%{version}.tar.gz
+# Source0-md5: aa0639e84d06afb82fabb9064980dc06
+URL: http://cairographics.org/cairo-nickle/
+BuildRequires: cairo-devel
+BuildRequires: fontconfig-devel
+BuildRequires: librsvg-devel >= 2.0
+BuildRequires: nickle
+BuildRequires: pkgconfig
+BuildRequires: xorg-lib-libX11-devel
+Requires: nickle
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# refers to symbols provided by nickle
+%define skip_post_check_so libcairo-5c\.so.*
+
+%description
+Cairo-5c - Nickle language binding for the cairo graphics library.
+
+%description -l pl.UTF-8
+Cairo-5c - wiązania języka Nickle do biblioteki graficznej Cairo.
+
+%prep
+%setup -q -n cairo-5c-%{version}
+
+%build
+%configure \
+ --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+mv -f $RPM_BUILD_ROOT%{_datadir}/cairo-5c/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+# not used for linking
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcairo-5c.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libcairo-5c.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcairo-5c.so.0
+%attr(755,root,root) %{_libdir}/libcairo-5c.so
+%{_datadir}/nickle/cairo.5c
+%{_datadir}/nickle/nichrome*.5c
+%{_examplesdir}/%{name}-%{version}
+%{_mandir}/man3/cairo-5c.3*
+
+%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 2012/03/13 15:57:58 qboosh
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list