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