]> git.pld-linux.org Git - packages/corona.git/commitdiff
- new auto/th/corona-1_0_2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 27 May 2007 22:42:05 +0000 (22:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    corona.spec -> 1.1

corona.spec [new file with mode: 0644]

diff --git a/corona.spec b/corona.spec
new file mode 100644 (file)
index 0000000..06ba743
--- /dev/null
@@ -0,0 +1,107 @@
+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
This page took 0.07337 seconds and 4 git commands to generate.