]> git.pld-linux.org Git - packages/imlib.git/blame - imlib.spec
- release 13
[packages/imlib.git] / imlib.spec
CommitLineData
cc4f5c41 1Summary: Image loading and rendering library for X11R6
f96a4b18
ER
2Summary(es.UTF-8): Biblioteca de carga y render 3D para X11R6
3Summary(fr.UTF-8): Librairie de chargement et interprétation d'images pour X11R6
4Summary(ko.UTF-8): X11R6를 위한 그림 읽기/화면에 그려주기 라이브러리
5Summary(pl.UTF-8): Biblioteki do renderowania i ładowania grafiki pod X11R6
6Summary(pt_BR.UTF-8): Biblioteca de carga e renderização para X11R6
3e9f3e5a 7Name: imlib
d451991a 8Version: 1.9.15
832da9d9 9Release: 13
5397297f 10Epoch: 1
5840f60d 11License: LGPL v2
cc4f5c41 12Group: X11/Libraries
5840f60d 13Source0: http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/%{name}-%{version}.tar.bz2
d451991a 14# Source0-md5: 7db987e6c52e4daf70d7d0f471238eae
df619069 15Source1: %{name}-config.desktop
9b5d2d76 16Patch0: %{name}-m4_fix.patch
17Patch1: %{name}-full_i18n.patch
30ba6ac1 18Patch2: %{name}-config.patch
d451991a
JB
19Patch3: %{name}-am18.patch
20Patch4: %{name}-intl.patch
4c3cea7e 21Patch5: %{name}-CAN-2004-1026.patch
c1f73ee4 22Patch6: %{name}-link.patch
6a6ce785 23Patch7: %{name}-16bit_depth_fix.patch
667885e2 24Patch8: %{name}-exa_fix.patch
78bcc69f 25Patch9: %{name}-ac.patch
c1f73ee4 26BuildRequires: autoconf >= 2.59-9
ecd26115 27BuildRequires: automake
28BuildRequires: gettext-devel
58cf84ad 29BuildRequires: giflib-devel
d451991a 30BuildRequires: gtk+-devel >= 1.2.1
5d8f3e5e 31BuildRequires: libjpeg-devel >= 6b-18
393c28bc 32BuildRequires: libpng-devel >= 1.0.8
d451991a 33BuildRequires: libtiff-devel
f6e809b2 34BuildRequires: libtool
c1f73ee4 35BuildRequires: xorg-lib-libX11-devel
38fe864b 36BuildRequires: zlib-devel
c221a221 37Obsoletes: libimlib1
d451991a 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cc4f5c41 39
58c6851b 40%define _sysconfdir /etc/X11
38b6f0e9 41
f6a2edb3 42%description
ac9e96b4 43Imlib is an advanced replacement library for libraries like libXpm
44that provides many more features with much greater flexability and
45speed.
f6a2edb3 46
3bbf08e4 47%description -l es.UTF-8
2ea76792 48Imlib es una biblioteca avanzada que sustituye las bibliotecas libXpm
3bbf08e4 49que ofrece mucho más opciones/características con una flexibilidad y
2ea76792 50velocidad mucho mayores.
51
3bbf08e4
JR
52%description -l fr.UTF-8
53Imlib est une librairie de remplacement avancée pour les librairies
54comme libXpm qui fourni plus d'atouts et beaucoup plus de flexibilité
ac9e96b4 55et de vitesse.
64da2522 56
3bbf08e4 57%description -l pl.UTF-8
c7b58f15 58Imlib jest zaawansowanym zamiennikiem bibliotek typu libXpm, ze
3bbf08e4 59zwiększoną elastycznością oraz prędkością.
f6a2edb3 60
3bbf08e4
JR
61%description -l pt_BR.UTF-8
62A imlib é uma biblioteca avançada que substitui as bibliotecas libXpm
63que fornece muito mais opções/características com uma flexibilidade e
2ea76792 64velocidade muito maiores.
65
58c6851b 66%package cfgeditor
45e8f68a 67Summary: Imlib configuration editor
f96a4b18
ER
68Summary(es.UTF-8): Editor de configuración de imlib
69Summary(ko.UTF-8): Imlib라이브러리용 설정 편집기
70Summary(pl.UTF-8): Edytor konfiguracji do biblioteki imlib
71Summary(pt_BR.UTF-8): Editor da configuração da imlib
b50c1500 72Group: X11/Applications
4c3cea7e 73Requires: %{name} = %{epoch}:%{version}-%{release}
45e8f68a 74
75%description cfgeditor
ac9e96b4 76The imlib_config program allows you to control the way imlib uses
77color and handles gamma correction/etc.
45e8f68a 78
3bbf08e4 79%description cfgeditor -l es.UTF-8
2ea76792 80El programa imlib_config te permite controlar como imlib usa los
3bbf08e4 81colores y manipula la corrección gamma, etc.
2ea76792 82
3bbf08e4
JR
83%description cfgeditor -l pl.UTF-8
84Program imlib_config umożliwia zmianę sposobu używania przez
85bibliotekę imlib kolorów, korekcji gamma i innych.
45e8f68a 86
3bbf08e4 87%description cfgeditor -l pt_BR.UTF-8
2ea76792 88O programa imlib_config lhe permite controlar como a imlib usa as
3bbf08e4 89cores e trata correção gamma, etc.
2ea76792 90
58c6851b 91%package devel
f6a2edb3 92Summary: Imlib header files and development documentation
f96a4b18
ER
93Summary(es.UTF-8): Archivos de inclusión, bibliotecas y documentación para Imlib
94Summary(fr.UTF-8): Fichiers entête pour Imlib
95Summary(ko.UTF-8): Imlib 응용프로그램들을 위한 개발 도구
96Summary(pl.UTF-8): Pliki nagłówkowe oraz dokumentacja do imlib
97Summary(pt_BR.UTF-8): Arquivos de inclusão, bibliotecas e documentação para a Imlib
cc4f5c41 98Group: X11/Development/Libraries
d451991a 99Requires: %{name} = %{epoch}:%{version}-%{release}
58cf84ad 100Requires: giflib-devel
76156e6c 101Requires: libjpeg-devel
d451991a 102Requires: libpng-devel
76156e6c 103Requires: libtiff-devel
c1f73ee4 104Requires: xorg-lib-libX11-devel
76156e6c 105Requires: zlib-devel
c221a221 106Obsoletes: libimlib1-devel
cc4f5c41 107
f6a2edb3 108%description devel
109Header files and development documentation for Imlib.
110
3bbf08e4
JR
111%description devel -l es.UTF-8
112Archivos de inclusión, bibliotecas estáticas y documentación para
2ea76792 113imlib.
114
3bbf08e4
JR
115%description devel -l fr.UTF-8
116Fichiers entête pour Imlib.
64da2522 117
3bbf08e4
JR
118%description devel -l pl.UTF-8
119Pliki nagłówkowe oraz dokumentacja do biblioteki Imlib.
f6a2edb3 120
3bbf08e4
JR
121%description devel -l pt_BR.UTF-8
122Arquivos de inclusão, bibliotecas estáticas e documentação para a
2ea76792 123imlib.
124
58c6851b 125%package static
f6a2edb3 126Summary: Imlib static libraries
f96a4b18
ER
127Summary(pl.UTF-8): Biblioteki statyczne imlib
128Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com imlib
cc4f5c41 129Group: X11/Development/Libraries
d451991a 130Requires: %{name}-devel = %{epoch}:%{version}-%{release}
cc4f5c41 131
f6a2edb3 132%description static
133Imlib static libraries.
134
3bbf08e4 135%description static -l pl.UTF-8
f6a2edb3 136Biblioteki statyczne imlib.
137
3bbf08e4
JR
138%description static -l pt_BR.UTF-8
139Bibliotecas estáticas para desenvolvimento com imlib.
2ea76792 140
f6a2edb3 141%prep
142%setup -q
475719a3 143%patch0 -p1
ecd26115 144%patch1 -p1
30ba6ac1 145%patch2 -p1
2ea76792 146%patch3 -p1
a7be9b10 147# temporary hack
d451991a 148%patch4 -p1
4c3cea7e 149%patch5 -p1
c1f73ee4 150%patch6 -p1
6a6ce785 151%patch7 -p1
667885e2 152%patch8 -p1
78bcc69f 153%patch9 -p0
5d4d127e 154
f6a2edb3 155%build
151c409c 156%{__gettextize}
f6e809b2 157%{__libtoolize}
71136597 158%{__aclocal}
01b7602d 159%{__autoconf}
d451991a 160%{__autoheader}
01b7602d 161%{__automake}
94c60768 162%configure
d238738f 163%{__make}
de2f7cc3 164
f6a2edb3 165%install
166rm -rf $RPM_BUILD_ROOT
1c2f5861 167install -d $RPM_BUILD_ROOT%{_desktopdir}
9e89036d 168
683a412d 169%{__make} install \
ac9e96b4 170 DESTDIR=$RPM_BUILD_ROOT \
171 m4datadir=%{_aclocaldir}
6c6da55d 172
1c2f5861 173install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
9e89036d 174
5d4d127e
JB
175# no static modules and *.la for modules - shut up check-files
176rm -f $RPM_BUILD_ROOT%{_libdir}/libimlib-*.{la,a}
177
ecd26115 178%find_lang %{name}
179
58c6851b 180%clean
181rm -rf $RPM_BUILD_ROOT
182
30ba6ac1
JB
183%post -p /sbin/ldconfig
184%postun -p /sbin/ldconfig
185
f6a2edb3 186%files
05516e10 187%defattr(644,root,root,755)
be638d40 188%attr(755,root,root) %{_libdir}/libImlib.so.*.*
189%attr(755,root,root) %{_libdir}/libgdk_imlib.so.*.*
190%attr(755,root,root) %{_libdir}/libimlib-*.so
591c770a
ER
191%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/im_palette*.pal
192%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imrc
45e8f68a 193
ecd26115 194%files cfgeditor -f %{name}.lang
7bafaeaa 195%defattr(644,root,root,755)
38b6f0e9 196%attr(755,root,root) %{_bindir}/imlib_config
12419359 197%{_mandir}/man1/imlib_config.1*
d451991a 198%{_desktopdir}/imlib-config.desktop
8186ec4a 199
f6a2edb3 200%files devel
45e8f68a 201%defattr(644,root,root,755)
202%doc doc/{*gif,*.html}
12419359 203%attr(755,root,root) %{_bindir}/imlib-config
be638d40 204%attr(755,root,root) %{_libdir}/libImlib.so
205%attr(755,root,root) %{_libdir}/libgdk_imlib.so
92654746 206%{_libdir}/libImlib.la
207%{_libdir}/libgdk_imlib.la
38b6f0e9 208%{_includedir}/*
ac9e96b4 209%{_aclocaldir}/*
12419359
JB
210%{_pkgconfigdir}/*.pc
211%{_mandir}/man1/imlib-config.1*
8186ec4a 212
f6a2edb3 213%files static
7bafaeaa 214%defattr(644,root,root,755)
5d4d127e
JB
215%{_libdir}/libImlib.a
216%{_libdir}/libgdk_imlib.a
This page took 0.142208 seconds and 4 git commands to generate.