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