]> git.pld-linux.org Git - packages/vigra.git/blame - vigra.spec
- added -libpng.patch
[packages/vigra.git] / vigra.spec
CommitLineData
ff77f0f9 1Summary: Generic Programming for Computer Vision
ce893eac 2Summary(pl.UTF-8): Ogólne programowanie obrazu komputerowego
ff77f0f9 3Name: vigra
d1a5ed0e 4Version: 1.6.0
f79b6d1e 5Release: 4
259a4a28 6License: MIT
ff77f0f9 7Group: Libraries
8Source0: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/%{name}%{version}.tar.gz
d1a5ed0e 9# Source0-md5: d62650a6f908e85643e557a236ea989c
f83ee3d9 10Patch0: %{name}-ac.patch
f79b6d1e 11Patch1: %{name}-libpng.patch
ff77f0f9 12URL: http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
f83ee3d9
JB
13BuildRequires: autoconf
14BuildRequires: automake
4537dc10 15BuildRequires: fftw3-devel
a7865023
JB
16BuildRequires: libjpeg-devel
17BuildRequires: libpng-devel
f83ee3d9 18BuildRequires: libstdc++-devel
a7865023 19BuildRequires: libtiff-devel
97e428ba
JB
20BuildRequires: libtool >= 2:1.5
21#BuildRequires: python
22#BuildRequires: python-devel
a7865023 23BuildRequires: zlib-devel
ff77f0f9 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ff77f0f9 25
26%description
27VIGRA stands for "Vision with Generic Algorithms". It's a novel
28computer vision library that puts its main emphasize on customizable
29algorithms and data structures. By using template techniques similar
30to those in the C++ Standard Template Library, you can easily adapt
31any VIGRA component to the needs of your application, without thereby
32giving up execution speed.
33
a1e41389
JR
34%description -l pl.UTF-8
35VIGRA to skrót od "Vision with Generic Algorithms" (widok z ogólnymi
36algorytmami). Jest to nowa biblioteka do obrazu komputerowego kładąca
37główny nacisk na algorytmy i struktury danych z możliwością
38dostosowania do własnych potrzeb. Poprzez użycie technik szablonów
39podobnych do tych w standardowej bibliotece szablonów C++ (STL) można
40łatwo zaadaptować dowolny komponent VIGRA do potrzeb własnej aplikacji
41bez poświęcania szybkości wykonywania.
a7865023 42
ff77f0f9 43%package devel
92c6e0e9 44Summary: Header files for vigra library
ce893eac 45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vigra
92c6e0e9 46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
f83ee3d9
JB
48Requires: libjpeg-devel
49Requires: libpng-devel
50Requires: libstdc++-devel
51Requires: libtiff-devel
ff77f0f9 52
53%description devel
54Header files needed to compile programs with vigra.
55
a1e41389
JR
56%description devel -l pl.UTF-8
57Pliki nagłówkowe potrzebne do budowania programów używających
a7865023
JB
58biblioteki vigra.
59
ff77f0f9 60%package static
92c6e0e9 61Summary: vigra - static library
ce893eac 62Summary(pl.UTF-8): Statyczna biblioteka vigra
92c6e0e9 63Group: Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
ff77f0f9 65
66%description static
a7865023
JB
67Static version of vigra library.
68
a1e41389 69%description static -l pl.UTF-8
a7865023 70Statyczna wersja biblioteki vigra.
ff77f0f9 71
f83ee3d9
JB
72%package doc
73Summary: Development documentation for vigra library
ce893eac 74Summary(pl.UTF-8): Dokumentacja programisty do biblioteki vigra
f83ee3d9
JB
75Group: Documentation
76
77%description doc
78Development documentation for vigra library.
79
a1e41389 80%description doc -l pl.UTF-8
f83ee3d9
JB
81Dokumentacja programisty do biblioteki vigra.
82
ff77f0f9 83%prep
f83ee3d9
JB
84%setup -q -n %{name}%{version}
85%patch0 -p1
f79b6d1e 86%patch1 -p1
ff77f0f9 87
f83ee3d9
JB
88tail -n +510 config/acinclude.m4 > acinclude.m4
89ln -sf config/configure.in .
ff77f0f9 90
f83ee3d9
JB
91%build
92cp -f /usr/share/automake/config.* config
93%{__libtoolize}
94%{__aclocal}
95%{__autoconf}
96%configure \
97 --with-fftw \
98 --with-jpeg \
99 --with-png \
100 --with-tiff \
101 --with-zlib
ff77f0f9 102
97e428ba
JB
103# --with-python requires src/pythonbindings (missing in sources)
104
ff77f0f9 105%{__make}
106
ff77f0f9 107%install
108rm -rf $RPM_BUILD_ROOT
f83ee3d9
JB
109
110%{__make} install \
ff77f0f9 111 prefix=$RPM_BUILD_ROOT%{_prefix} \
112 exec-prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
113 bindir=$RPM_BUILD_ROOT%{_bindir} \
114 includedir=$RPM_BUILD_ROOT%{_includedir} \
4993c24d
JB
115 libdir=$RPM_BUILD_ROOT%{_libdir} \
116 docdir=`pwd`/docs
ff77f0f9 117
ff77f0f9 118%clean
a7865023
JB
119rm -rf $RPM_BUILD_ROOT
120
121%post -p /sbin/ldconfig
122%postun -p /sbin/ldconfig
ff77f0f9 123
124%files
125%defattr(644,root,root,755)
4993c24d
JB
126%doc LICENSE.txt README.txt
127%attr(755,root,root) %{_libdir}/libvigraimpex.so.*.*.*
d1a5ed0e 128%attr(755,root,root) %ghost %{_libdir}/libvigraimpex.so.2
ff77f0f9 129
130%files devel
131%defattr(644,root,root,755)
f83ee3d9 132%attr(755,root,root) %{_bindir}/vigra-config
4993c24d
JB
133%attr(755,root,root) %{_libdir}/libvigraimpex.so
134%{_libdir}/libvigraimpex.la
f83ee3d9 135%{_includedir}/vigra
ff77f0f9 136
137%files static
138%defattr(644,root,root,755)
4993c24d 139%{_libdir}/libvigraimpex.a
f83ee3d9
JB
140
141%files doc
142%defattr(644,root,root,755)
4993c24d 143%doc docs/[!L]*
This page took 0.194782 seconds and 4 git commands to generate.