]> git.pld-linux.org Git - packages/CImg.git/blob - CImg.spec
72b7a5e7acccb16c9c0f939510b781ca2497a997
[packages/CImg.git] / CImg.spec
1 Summary:        C++ Template Image Processing Library
2 Summary(pl):    Biblioteka szablonów C++ do przetwarzania obrazu
3 Name:           CImg
4 Version:        1.1.4
5 Release:        1
6 License:        CeCILL Free Software License
7 Group:          Development/Libraries
8 Source0:        http://dl.sourceforge.net/cimg/%{name}-1-14.zip
9 # Source0-md5:  70d01cb7b2e770c989af3f88b369d9ce
10 URL:            http://cimg.sourceforge.net/
11 BuildRequires:  unzip
12 Requires:       libstdc++-devel
13 Requires:       xorg-lib-libX11-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The CImg Library is an open-source C++ toolkit for image processing.
18 It consists in a single header file 'CImg.h' providing a set of C++
19 classes and functions that can be used in your own sources, to
20 load/save, process and display images. Very portable (Unix/X11,
21 Windows, MacOS X, FreeBSD, ...), efficient, easy to use, it's a
22 pleasant toolkit for coding image processing stuffs in C++.
23
24 %description -l pl
25 Biblioteka CImg to toolkit C++ o otwartych ¼ród³ach s³u¿±cy do
26 przetwarzania obrazu. Sk³ada siê z pojedynczego pliku nag³ówkowego
27 CImg.h udostêpniaj±cego zbiór klas i funkcji C++, które mo¿na
28 wykorzystaæ we w³asnych ¼ród³ach do wczytywania, zapisywania,
29 przetwarzania i wy¶wietlania obrazów. Jest przeno¶ny (Unix/X11,
30 Windows, MacOS X, FreeBSD...), wydajny, ³atwy w u¿yciu i przyjemny do
31 kodowania przetwarzania obrazu w C++.
32
33 %prep
34 %setup -q -n %{name}-1-14
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_includedir},%{_examplesdir}/%{name}-%{version}}
39
40 install CImg.h $RPM_BUILD_ROOT%{_includedir}
41 install examples/{*.cpp,Makefile} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc CHANGES.txt LICENSE.txt README.txt
49 %lang(fr) %doc LICENSE_FR.txt
50 %{_includedir}/CImg.h
51 %{_examplesdir}/%{name}-%{version}
This page took 0.101788 seconds and 2 git commands to generate.