]> git.pld-linux.org Git - packages/vips.git/blame - vips.spec
- release 3 (by relup.sh)
[packages/vips.git] / vips.spec
CommitLineData
ae8a567b
ER
1# TODO:
2# - split -libs (-n libvips)
3# - python package (-n python-vipsCC)
4# - gir stuff belongs to what package?
5Summary: A fast image processing library with low memory needs
bdd98513 6Summary(pl.UTF-8): Biblioteka przetwarzania obrazów
d133a944 7Name: vips
ae8a567b 8Version: 8.5.9
50807585 9Release: 3
d133a944 10License: LGPL
11Group: Libraries
ae8a567b
ER
12Source0: https://github.com/jcupitt/libvips/releases/download/v%{version}/%{name}-%{version}.tar.gz
13# Source0-md5: b8639ec0b05dfa17deca50007895963a
14URL: http://jcupitt.github.io/libvips/
c0a64306 15BuildRequires: ImageMagick-devel >= 1:6.2.4.0
d133a944 16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: bzip2-devel
a820c931 19BuildRequires: fftw3-devel >= 3.0.0
1f5368ae 20BuildRequires: glib2-devel >= 2.4.0
d133a944 21BuildRequires: imlib-devel
55823ba3 22BuildRequires: intltool
d133a944 23BuildRequires: lcms-devel
24BuildRequires: libjpeg-devel
25BuildRequires: libltdl-devel
26BuildRequires: libpng-devel
27BuildRequires: libstdc++-devel
28BuildRequires: libtiff-devel
29BuildRequires: libtool
30BuildRequires: libxml2-devel
31BuildRequires: pango-devel
a820c931 32BuildRequires: pkgconfig
ae8a567b
ER
33BuildRequires: rpm-pythonprov
34BuildRequires: rpmbuild(find_lang) >= 1.32
35BuildRequires: rpmbuild(macros) >= 1.714
d133a944 36BuildRequires: zlib-devel
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
ae8a567b
ER
40libvips is a demand-driven, horizontally threaded image processing
41library. Compared to similar libraries, libvips runs quickly and uses
42little memory.
43
44It has around 300 operations covering arithmetic, histograms,
45convolution, morphological operations, frequency filtering, colour,
46resampling, statistics and others. It supports a large range of
47numeric formats, from 8-bit int to 128-bit complex. Images can have
48any number of bands. It supports a good range of image formats,
49including JPEG, TIFF, OME-TIFF, PNG, WebP, FITS, Matlab, OpenEXR, PDF,
50SVG, HDR, PPM, CSV, GIF, Analyze, DeepZoom, and OpenSlide. It can also
51load images via ImageMagick or GraphicsMagick, letting it load formats
52like DICOM.
d133a944 53
86727f3d
JR
54%description -l pl.UTF-8
55VIPS jest biblioteką przetwarzania obrazów. Jest dobra dla bardzo
56dużych obrazów (to znaczy większych niż ilość RAM w komputerze), oraz
d133a944 57do pracy z kolorami. Zawiera API w C++, kompletne strony pomocy man,
86727f3d
JR
58interfejs linii poleceń, automatyczne wątkowanie i bazę danych
59operacji. Jest kilka interfejsów użytkownika zbudowanych na podstawie
60VIPS, na przykład "nip".
d133a944 61
62%package devel
63Summary: Header files for vips library
bdd98513 64Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vips
d133a944 65Group: Development/Libraries
66Requires: %{name} = %{version}-%{release}
67
68%description devel
69Header files for vips library.
70
86727f3d
JR
71%description devel -l pl.UTF-8
72Pliki nagłówkowe biblioteki vips.
d133a944 73
74%package static
75Summary: Static vips library
bdd98513 76Summary(pl.UTF-8): Statyczna biblioteka vips
d133a944 77Group: Development/Libraries
78Requires: %{name}-devel = %{version}-%{release}
79
80%description static
81Static vips library.
82
86727f3d 83%description static -l pl.UTF-8
d133a944 84Statyczna biblioteka vips.
85
86%prep
87%setup -q
88
89%build
d133a944 90%{__libtoolize}
91%{__aclocal}
92%{__autoconf}
93%{__autoheader}
94%{__automake}
95%configure
96%{__make}
97
98%install
99rm -rf $RPM_BUILD_ROOT
d133a944 100
101%{__make} install \
102 DESTDIR=$RPM_BUILD_ROOT
103
ae8a567b
ER
104%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvips-cpp.la
105%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvips.la
106%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvipsCC.la
107%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/vipsCC/*.la
108%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/vipsCC/*.a
d133a944 109
ae8a567b 110rm -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/libvips
48242467 111
ae8a567b
ER
112%py_postclean
113
114%find_lang vips8.5 -o %{name}.lang
48242467 115
d133a944 116%clean
117rm -rf $RPM_BUILD_ROOT
118
119%post -p /sbin/ldconfig
120%postun -p /sbin/ldconfig
121
ae8a567b 122%files -f %{name}.lang
d133a944 123%defattr(644,root,root,755)
d133a944 124%defattr(644,root,root,755)
ae8a567b
ER
125%doc AUTHORS ChangeLog NEWS THANKS TODO
126%attr(755,root,root) %{_bindir}/batch_crop
127%attr(755,root,root) %{_bindir}/batch_image_convert
128%attr(755,root,root) %{_bindir}/batch_rubber_sheet
129%attr(755,root,root) %{_bindir}/light_correct
130%attr(755,root,root) %{_bindir}/shrink_width
131%attr(755,root,root) %{_bindir}/vips
132%attr(755,root,root) %{_bindir}/vips-8.5
133%attr(755,root,root) %{_bindir}/vipsedit
134%attr(755,root,root) %{_bindir}/vipsheader
135%attr(755,root,root) %{_bindir}/vipsprofile
136%attr(755,root,root) %{_bindir}/vipsthumbnail
137%attr(755,root,root) %{_libdir}/libvips-cpp.so.*.*.*
138%attr(755,root,root) %ghost %{_libdir}/libvips-cpp.so.42
139%attr(755,root,root) %{_libdir}/libvips.so.*.*.*
140%attr(755,root,root) %ghost %{_libdir}/libvips.so.42
141%attr(755,root,root) %{_libdir}/libvipsCC.so.*.*.*
142%attr(755,root,root) %ghost %{_libdir}/libvipsCC.so.42
143%{_libdir}/girepository-1.0/Vips-8.0.typelib
144%{_datadir}/gir-1.0/Vips-8.0.gir
145%{_mandir}/man1/batch_crop.1*
146%{_mandir}/man1/batch_image_convert.1*
147%{_mandir}/man1/batch_rubber_sheet.1*
148%{_mandir}/man1/light_correct.1*
149%{_mandir}/man1/vips.1*
150%{_mandir}/man1/vipsedit.1*
151%{_mandir}/man1/vipsheader.1*
152%{_mandir}/man1/vipsprofile.1*
153%{_mandir}/man1/vipsthumbnail.1*
154
48242467 155%dir %{py_sitedir}/vipsCC
48242467 156%{py_sitedir}/vipsCC/*.py[co]
ae8a567b
ER
157%attr(755,root,root) %{py_sitedir}/vipsCC/vdisplaymodule.so
158%attr(755,root,root) %{py_sitedir}/vipsCC/verrormodule.so
159%attr(755,root,root) %{py_sitedir}/vipsCC/vimagemodule.so
160%attr(755,root,root) %{py_sitedir}/vipsCC/vmaskmodule.so
161%{py_sitedir}/gi/overrides/Vips.py[co]
162
163%files devel
164%defattr(644,root,root,755)
165%{_libdir}/libvips-cpp.so
166%{_libdir}/libvips.so
167%{_libdir}/libvipsCC.so
168%{_includedir}/vips
169%{_pkgconfigdir}/vips-cpp.pc
170%{_pkgconfigdir}/vips.pc
171%{_pkgconfigdir}/vipsCC.pc
d133a944 172
173%files static
174%defattr(644,root,root,755)
ae8a567b
ER
175%{_libdir}/libvips-cpp.a
176%{_libdir}/libvips.a
177%{_libdir}/libvipsCC.a
This page took 0.094337 seconds and 4 git commands to generate.