source: projects/specs/trunk/lib/libA/libAfterImage/libAfterImage-vl.spec @ 1195

Revision 1195, 5.0 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           libAfterImage
2Version:        1.18
3Release:        1_%{?_dist_release}
4Summary:        A generic image manipulation library
5Summary(ja):    一般的な画像操作ライブラリ
6
7Group:          System Environment/Libraries
8License:        LGPLv2+
9URL:            http://www.afterstep.org/afterimage/index.php
10Source0:        ftp://ftp.afterstep.org/stable/%{name}/%{name}-%{version}.tar.bz2
11Source1:        libAfterImage-COPYING
12Patch0:         libAfterImage-Makefile-ldconfig.patch
13Patch1:         libAfterImage-afterimage-config.patch
14Patch2:         libAfterImage-multiarch.patch
15Patch3:         libAfterImage-glx.patch
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18BuildRequires:  freetype2-devel
19BuildRequires:  zlib-devel
20BuildRequires:  libtiff-devel
21BuildRequires:  libpng-devel
22BuildRequires:  giflib-devel
23BuildRequires:  libjpeg-devel
24BuildRequires:  libX11-devel
25BuildRequires:  libXext-devel
26BuildRequires:  libICE-devel
27BuildRequires:  libSM-devel
28BuildRequires:  gawk
29
30%description
31libAfterImage is a generic image manipulation library. It was initially
32implemented to address AfterStep Window Manager's needs for image handling,
33but it evolved into extremely powerful and flexible software, suitable for
34virtually any project that has needs for loading, manipulating, displaying
35images, as well as writing images in files. Most of the popular image formats
36are supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO,
37TGA and GIF being supported internally.
38
39PNG, JPEG and TIFF formats are supported via standard libraries.
40
41Powerful text rendering capabilities included, providing support for
42TrueType fonts using FreeType library, and antialiasing of standard fonts
43from X window system.
44
45%package devel
46Summary:  Files needed for software development with %{name}
47Group:    Development/Libraries
48Requires: %{name} = %{version}-%{release}
49Requires: freetype2-devel
50Requires: zlib-devel
51Requires: libtiff-devel
52Requires: libjpeg-devel
53Requires: libpng-devel
54Requires: libX11-devel
55Requires: libXext-devel
56Requires: libICE-devel
57Requires: libSM-devel
58
59%description devel
60The %{name}-devel package contains the files needed for development with
61%{name}
62
63%prep
64%setup -q
65%patch0
66%patch1
67%patch2 -b multiarch
68%patch3
69
70%build
71%configure --enable-i18n --enable-sharedlibs \
72--with-xpm --without-builtin-ungif --disable-staticlibs --enable-glx \
73--without-afterbase --disable-mmx-optimization \
74--x-includes=%{_includedir} --x-libraries=%{_libdir}
75
76make CCFLAGS="-DNO_DEBUG_OUTPUT -fPIC $RPM_OPT_FLAGS" %{?_smp_mflags} \
77LIBAFTERIMAGE_PATH=../
78
79
80%install
81rm -rf $RPM_BUILD_ROOT
82mkdir -p $RPM_BUILD_ROOT%{_bindir}
83mkdir -p $RPM_BUILD_ROOT%{_libdir}
84mkdir -p $RPM_BUILD_ROOT%{_includedir}
85make install DESTDIR=$RPM_BUILD_ROOT LIBAFTERIMAGE_PATH=../
86
87cp %{SOURCE1} %{_builddir}/%{name}-%{version}/COPYING
88
89touch -r ChangeLog $RPM_BUILD_ROOT%{_bindir}/afterimage-{config,libs}
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95
96%postun -p /sbin/ldconfig
97
98%files
99%defattr(-,root,root,-)
100%doc README ChangeLog COPYING
101%{_libdir}/*.so.*
102
103%files devel
104%defattr(-,root,root,-)
105%{_bindir}/*
106%{_includedir}/libAfterImage/
107%{_libdir}/*.so
108%{_datadir}/libAfterImage/
109%{_mandir}/man?/*
110
111%changelog
112* Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1
113- initial build for VineLinux
114
115* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
116- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
117
118* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
120
121* Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
122- 1.18-2
123- add glx context patch (suggested by Frank Schmitt)
124
125* Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
126- 1.18-1
127- version upgrade
128
129* Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4
130- Rebuilt for gcc43
131
132* Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
133- 1.15-3
134- fix #341871 multiarch
135
136* Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
137- 1.15-2
138- upgrade BR
139
140* Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
141- 1.15-1
142- version upgrade
143- new license tag
144
145* Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1461.07-8
147- FE6 rebuild
148
149* Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1501.07-7
151- Rebuild for Fedora Extras 5
152
153* Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1541.07-6
155- fix typo
156
157* Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1581.07-5
159- modular X
160
161* Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1621.07-4
163- add -fPIC
164
165* Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1661.07-3
167- build with debug information
168- add dist tag
169
170* Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1711.07-2
172- fix issues mentioned in #166046 #1
173
174* Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1751.07-1
176- Initial Release
177-
Note: See TracBrowser for help on using the repository browser.