From 079fbe4fa3a72bbf1440de484cd96d98dbd580a5 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 18 Dec 2008 00:49:25 +0000 Subject: [PATCH] Initial version checkin --- .cvsignore | 1 + import.log | 1 + libspiro.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 63 insertions(+) create mode 100644 import.log create mode 100644 libspiro.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f093cfe 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libspiro_src-20071029.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..dd690bf --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libspiro-20071029-1_fc11:HEAD:libspiro-20071029-1.fc11.src.rpm:1229561331 diff --git a/libspiro.spec b/libspiro.spec new file mode 100644 index 0000000..ac6f7d6 --- /dev/null +++ b/libspiro.spec @@ -0,0 +1,60 @@ +Name: libspiro +Version: 20071029 +Release: 1%{?dist} +Summary: Library to simplify the drawing of beautiful curves + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://libspiro.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}_src-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +This library will take an array of spiro control points and +convert them into a series of bézier splines which can then +be used in the myriad of ways the world has come to use béziers. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q -n libspiro-20071029 + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc README gpl.txt README-RaphLevien +%{_libdir}/*.so.* + +%files devel +%doc README gpl.txt README-RaphLevien +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so + +%changelog +* Tue Dec 16 2008 Kevin Fenzi - 20071029-1 +- Initial version for Fedora diff --git a/sources b/sources index e69de29..b5b13df 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ab6aaa50bbd8fa55e78f8b8b0112f6cd libspiro_src-20071029.tar.bz2