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

Revision 1199, 5.1 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           libAfterImage
2Version:        1.18
3Release:        2%{?_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* Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-2
113- fixed release number
114
115* Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1
116- initial build for VineLinux
117
118* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
119- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
120
121* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
122- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
123
124* Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
125- 1.18-2
126- add glx context patch (suggested by Frank Schmitt)
127
128* Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
129- 1.18-1
130- version upgrade
131
132* Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4
133- Rebuilt for gcc43
134
135* Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
136- 1.15-3
137- fix #341871 multiarch
138
139* Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
140- 1.15-2
141- upgrade BR
142
143* Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
144- 1.15-1
145- version upgrade
146- new license tag
147
148* Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1491.07-8
150- FE6 rebuild
151
152* Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1531.07-7
154- Rebuild for Fedora Extras 5
155
156* Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1571.07-6
158- fix typo
159
160* Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1611.07-5
162- modular X
163
164* Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1651.07-4
166- add -fPIC
167
168* Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1691.07-3
170- build with debug information
171- add dist tag
172
173* Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1741.07-2
175- fix issues mentioned in #166046 #1
176
177* Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1781.07-1
179- Initial Release
180-
Note: See TracBrowser for help on using the repository browser.