]> git.pld-linux.org Git - packages/vips.git/blob - vips.spec
- argh. stupid distfiles
[packages/vips.git] / vips.spec
1 Summary:        An image processing library
2 Summary(pl):    Biblioteka przetwarzania obrazów
3 Name:           vips
4 Version:        7.10.6
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.vips.ecs.soton.ac.uk/%{name}-7.10/%{name}-%{version}.tar.gz
9 # Source0-md5:  6c0bd95710096686b57878167c483298
10 URL:            http://www.vips.ecs.soton.ac.uk/
11 BuildRequires:  ImageMagick-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  bzip2-devel
15 BuildRequires:  expat-devel
16 BuildRequires:  fftw3-devel
17 BuildRequires:  fontconfig-devel
18 BuildRequires:  freetype-devel
19 BuildRequires:  glib2-devel
20 BuildRequires:  imlib-devel
21 BuildRequires:  lcms-devel
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libltdl-devel
24 BuildRequires:  libpng-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtiff-devel
27 BuildRequires:  libtool
28 BuildRequires:  libxml2-devel
29 BuildRequires:  pango-devel
30 BuildRequires:  zlib-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 VIPS is an image processing library. It is good for very large images
35 (ie. larger than the amount of RAM in your machine), and for working
36 with colour. It includes a C++ API, complete man pages, a command-line
37 interface, automatic threading and an operation database. There are
38 several user interfaces built on top of VIPS: for example "nip".
39
40 %description -l pl
41 VIPS jest bibliotek± przetwarzania obrazów. Jest dobra dla bardzo
42 du¿ych obrazów(to znaczy wiêkszych ni¿ ilo¶æ RAM w komputerze), oraz
43 do pracy z kolorami. Zawiera API w C++, kompletne strony pomocy man,
44 interfejs lini poleceñ, automatyczne w±tkowanie i bazê danych
45 operacji. Jest kilka interfejsów u¿ytkownika zbudowanych na podstawie
46 VIPS, na przyk³ad "nip".
47
48 %package devel
49 Summary:        Header files for vips library
50 Summary(pl):    Pliki nag³ówkowe biblioteki vips
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53
54 %description devel
55 Header files for vips library.
56
57 %description devel -l pl
58 Pliki nag³ówkowe biblioteki vips.
59
60 %package static
61 Summary:        Static vips library
62 Summary(pl):    Statyczna biblioteka vips
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static vips library.
68
69 %description static -l pl
70 Statyczna biblioteka vips.
71
72 %prep
73 %setup -q
74
75 %build
76 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
77 # appropriate BuildRequires
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88 # create directories if necessary
89 #install -d $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README THANKS TODO
105 %doc doc/html/refguide doc/html/appguide
106 %attr(755,root,root) %{_bindir}/*
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
108 %{_datadir}/%{name}
109 %{_mandir}/man1/*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %doc doc/html/cppguide doc/html/libguide
115 %{_libdir}/lib*.la
116 %{_includedir}/%{name}
117 %{_pkgconfigdir}/*.pc
118 %{_mandir}/man3/*
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.a
This page took 0.07549 seconds and 4 git commands to generate.