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