SPECS: corona.spec (NEW) - new

qboosh qboosh at pld-linux.org
Mon May 28 00:42:10 CEST 2007


Author: qboosh                       Date: Sun May 27 22:42:10 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   corona.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/corona.spec
diff -u /dev/null SPECS/corona.spec:1.1
--- /dev/null	Mon May 28 00:42:10 2007
+++ SPECS/corona.spec	Mon May 28 00:42:05 2007
@@ -0,0 +1,117 @@
+# $Revision$, $Date$
+Summary:	Image input/output library
+Summary(pl.UTF-8):	Biblioteka wejścia/wyjścia dla obrazów
+Name:		corona
+Version:	1.0.2
+Release:	1
+License:	zlib
+Group:		Libraries
+Source0:	http://dl.sourceforge.net/corona/%{name}-%{version}.tar.gz
+# Source0-md5:	29d1a7f1e2c85a83e9620496c62740ce
+Patch0:		%{name}-system-gif.patch
+Patch1:		%{name}-config.patch
+URL:		http://corona.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	giflib-devel >= 4.1.0
+BuildRequires:	libjpeg-devel
+BuildRequires:	libpng-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Corona is an image input/output library that can read, write, and
+manipulate image files in just a few lines of code. It can write PNG
+and TGA files, and read PNG, JPEG, PCX, BMP, TGA, and GIF. Corona was
+designed to be easy to use, and exports a straightforward C++ API.
+With just a few lines of C++, you can add image loading to your
+application.
+
+%description -l pl.UTF-8
+Corona to biblioteka wejścia/wyjścia dla obrazów, potrafiąca czytać,
+zapisywać i obrabiać pliki obrazów w zaledwie kilku liniach kodu.
+Potrafi zapisywać pliki PNG i TGA, a czytać PNG, JPEG, PCX, BMP, TGA i
+GIF. Została zaprojektowana jako łatwa w użyciu i eksportuje
+bezpośrednie API C++. Za pomocą tylko kilku linii kodu C++ można dodać
+wczytywanie obrazów do swojej aplikacji.
+
+%package devel
+Summary:	Header files for corona library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki corona
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	giflib-devel >= 4.1.0
+Requires:	libjpeg-devel
+Requires:	libpng-devel
+Requires:	libstdc++-devel
+
+%description devel
+Header files for corona library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki corona.
+
+%package static
+Summary:	Static corona library
+Summary(pl.UTF-8):	Statyczna biblioteka corona
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static corona library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka corona.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__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 doc/{changelog.txt,faq.txt,license.txt,literature.txt,readme.txt}
+%attr(755,root,root) %{_bindir}/corconvert
+%attr(755,root,root) %{_libdir}/libcorona-*.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc doc/tutorial.txt
+%attr(755,root,root) %{_bindir}/corona-config
+%attr(755,root,root) %{_libdir}/libcorona.so
+%{_libdir}/libcorona.la
+%{_includedir}/corona.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcorona.a
+
+%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  2007/05/27 22:42:05  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list