]> git.pld-linux.org Git - packages/FreeImage.git/commitdiff
- initial version
authoryogib <yogib@pld-linux.org>
Sun, 13 Feb 2005 17:10:02 +0000 (17:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    FreeImage.spec -> 1.1

FreeImage.spec [new file with mode: 0644]

diff --git a/FreeImage.spec b/FreeImage.spec
new file mode 100644 (file)
index 0000000..f70c3f6
--- /dev/null
@@ -0,0 +1,94 @@
+Summary:       Library for handling different graphics files formats
+Summary(pl):   Biblioteka do manipulacji ró¿nymi formatami plików graficznych
+Name:          FreeImage
+Version:       3.6.0
+Release:       1
+License:       GPL and FIPL (see the license-fi.txt)
+Group:         Libraries
+Source0:       http://dl.sourceforge.net/freeimage/%{name}360.zip
+# Source0-md5: 0b3d15fee3455914729134c0cee84141
+Source1:       http://dl.sourceforge.net/freeimage/%{name}360.pdf
+# Source1-md5: fb2141db11c35a60d8511dda4ce8a09d
+URL:           http://freeimage.sourceforge.net/index.html
+BuildRequires: unzip
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FreeImage is a library project for developers who would like to
+support popular graphics image formats like PNG, BMP, JPEG, TIFF and
+others as needed by multimedia applications. FreeImage is easy to use,
+fast, multithreading, safe.
+
+%description -l pl
+FreeImage jest projektem biblioteki dla deweloperów, którzy chc±
+wspieraæ popularne formaty plików graficznych takie jak PNG, BMP,
+JPEG, TIFF i inne wykorzystywane w aplikacjach multimedialnych.
+FreeImage jest ³atwy w u¿yciu, szybki, wielow±tkowy i bezpieczny.
+
+%package devel
+Summary:       Header files for FreeImage library
+Summary(pl):   Pliki nag³ówkowe biblioteki FreeImage
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for FreeImage library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki FreeImage.
+
+%package static
+Summary:       Static FreeImage library
+Summary(pl):   Statyczna biblioteka FreeImage
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static FreeImage library.
+
+%description static -l pl
+Statyczna biblioteka FreeImage.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__make} \
+       COMPILERFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+install Dist/libfreeimage* $RPM_BUILD_ROOT%{_libdir}
+install Dist/*.h $RPM_BUILD_ROOT%{_includedir}
+
+cp -rf Examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -f %{SOURCE1} .
+
+cd Dist
+ln -sf libfreeimage-%{version}.so \
+       $RPM_BUILD_ROOT%{_libdir}/libfreeimage.so
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.linux Whatsnew.txt license-fi.txt
+%attr(755,root,root) %{_libdir}/libfreeimage-*.*.*.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc FreeImage360.pdf
+%attr(755,root,root) %{_libdir}/libfreeimage.so
+%{_includedir}/*
+%{_examplesdir}/%{name}-%{version}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.083503 seconds and 4 git commands to generate.