]> git.pld-linux.org Git - packages/CImg.git/blob - CImg.spec
- up to 1.1.6
[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.6
5 Release:        1
6 License:        CeCILL Free Software License
7 Group:          Development/Libraries
8 Source0:        http://dl.sourceforge.net/cimg/%{name}-1-16.zip
9 # Source0-md5:  4026b665a0c2d693d844b0f9f34a9f9d
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-16
35
36 cp plugins/README.txt README-plugins.txt
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/plugins,%{_examplesdir}/%{name}-%{version}}
41
42 install CImg.h $RPM_BUILD_ROOT%{_includedir}/%{name}
43 install plugins/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/plugins
44 install examples/{*.cpp,*.m,Makefile} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc CHANGES.txt Licence* README*.txt documentation/*
52 %dir %{_includedir}/%{name}
53 %dir %{_includedir}/%{name}/plugins
54 %{_includedir}/%{name}/CImg.h
55 %{_includedir}/%{name}/plugins/*.h
56 %{_examplesdir}/%{name}-%{version}
This page took 0.063432 seconds and 4 git commands to generate.