[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Name: libmng |
---|
[3155] | 4 | Summary: A library of functions for manipulating MNG format files. |
---|
[11552] | 5 | Version: 2.0.3 |
---|
[8084] | 6 | Release: 1%{?_dist_release} |
---|
[3155] | 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | License: AS IS |
---|
[8084] | 10 | URL: http://sourceforge.net/projects/libmng/ |
---|
[3155] | 11 | |
---|
[8084] | 12 | Source: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.xz |
---|
[3155] | 13 | |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[3155] | 15 | BuildRequires: automake |
---|
| 16 | BuildRequires: autoconf |
---|
[8084] | 17 | BuildRequires: lcms2-devel |
---|
[3155] | 18 | BuildRequires: libjpeg-devel |
---|
| 19 | BuildRequires: libtool |
---|
| 20 | BuildRequires: zlib-devel |
---|
[521] | 21 | |
---|
[8084] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
[3155] | 25 | %description |
---|
| 26 | libmng - library for reading, writing, displaying and examing |
---|
| 27 | Multiple-Image Network Graphics. MNG is the animation extension to the |
---|
| 28 | popular PNG image-format. |
---|
| 29 | |
---|
[521] | 30 | %package devel |
---|
| 31 | Summary: Development tools for programs to manipulate MNG format files. |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
[8084] | 34 | Requires: lcms2-devel |
---|
[3155] | 35 | Requires: libjpeg-devel |
---|
| 36 | Requires: zlib-devel |
---|
[8084] | 37 | Requires: pkgconfig |
---|
[521] | 38 | |
---|
| 39 | %description devel |
---|
| 40 | The libmng-devel package contains the header files |
---|
| 41 | necessary for developing programs using the MNG |
---|
| 42 | (Multiple-Image Network Graphics) library. |
---|
| 43 | |
---|
| 44 | %package static |
---|
| 45 | Summary: Static libraries of %{name} |
---|
| 46 | Group: Development/Libraries |
---|
| 47 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 48 | |
---|
| 49 | %description static |
---|
| 50 | The libmng-static package contains static libraries. |
---|
| 51 | |
---|
| 52 | # compat32 |
---|
| 53 | %package -n compat32-%{name} |
---|
| 54 | Summary: A library of functions for manipulating MNG format files. |
---|
| 55 | Group: System Environment/Libraries |
---|
| 56 | Requires: %{name} = %{version}-%{release} |
---|
| 57 | |
---|
| 58 | %description -n compat32-%{name} |
---|
| 59 | libmng - library for reading, writing, displaying and examing |
---|
| 60 | Multiple-Image Network Graphics. MNG is the animation extension to the |
---|
| 61 | popular PNG image-format. |
---|
| 62 | |
---|
| 63 | %package -n compat32-%{name}-devel |
---|
| 64 | Summary: Development tools for programs to manipulate MNG format files. |
---|
| 65 | Group: Development/Libraries |
---|
| 66 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 67 | Requires: compat32-%{name} = %{version}-%{release} |
---|
[8084] | 68 | Requires: compat32-lcms2-devel |
---|
[3155] | 69 | Requires: compat32-libjpeg-devel |
---|
| 70 | Requires: compat32-zlib-devel |
---|
[521] | 71 | |
---|
| 72 | %description -n compat32-%{name}-devel |
---|
| 73 | The libmng-devel package contains the header files |
---|
| 74 | necessary for developing programs using the MNG |
---|
| 75 | (Multiple-Image Network Graphics) library. |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %prep |
---|
| 79 | %setup -q |
---|
| 80 | |
---|
| 81 | %build |
---|
[8084] | 82 | #cp -p makefiles/configure.in . |
---|
| 83 | #cp -p makefiles/Makefile.am . |
---|
[521] | 84 | |
---|
[8084] | 85 | #libtoolize -f -c |
---|
| 86 | #aclocal |
---|
| 87 | #automake -a -c |
---|
| 88 | #autoconf |
---|
[521] | 89 | |
---|
| 90 | %configure --enable-shared --with-zlib --with-jpeg \ |
---|
| 91 | --with-gnu-ld --with-lcms |
---|
| 92 | make |
---|
| 93 | |
---|
| 94 | %install |
---|
| 95 | rm -rf $RPM_BUILD_ROOT |
---|
| 96 | %makeinstall |
---|
| 97 | |
---|
| 98 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 99 | |
---|
| 100 | %clean |
---|
| 101 | rm -rf $RPM_BUILD_ROOT |
---|
| 102 | |
---|
| 103 | %post -p /sbin/ldconfig |
---|
| 104 | |
---|
| 105 | %postun -p /sbin/ldconfig |
---|
| 106 | |
---|
| 107 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 108 | |
---|
| 109 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 110 | |
---|
| 111 | %files |
---|
| 112 | %defattr(-,root,root) |
---|
| 113 | %doc CHANGES LICENSE README doc |
---|
| 114 | %{_libdir}/*.so.* |
---|
| 115 | %{_mandir}/man*/* |
---|
| 116 | |
---|
| 117 | %files devel |
---|
| 118 | %defattr(-,root,root) |
---|
| 119 | %{_includedir}/* |
---|
| 120 | %{_libdir}/*.so |
---|
[8084] | 121 | %{_libdir}/pkgconfig/%{name}.pc |
---|
[521] | 122 | |
---|
| 123 | %files static |
---|
| 124 | %defattr(-,root,root) |
---|
| 125 | %{_libdir}/*.a |
---|
| 126 | |
---|
| 127 | # compat32 |
---|
| 128 | %if %{build_compat32} |
---|
| 129 | %files -n compat32-%{name} |
---|
| 130 | %defattr(-,root,root) |
---|
| 131 | %{_libdir}/*.so.* |
---|
| 132 | |
---|
| 133 | %files -n compat32-%{name}-devel |
---|
| 134 | %defattr(-,root,root) |
---|
| 135 | %{_libdir}/*.so |
---|
| 136 | %endif |
---|
| 137 | |
---|
| 138 | %changelog |
---|
[11552] | 139 | * Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1 |
---|
| 140 | - updated to 2.0.3. |
---|
| 141 | |
---|
[8084] | 142 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-1 |
---|
| 143 | - update to 2.0.2 |
---|
| 144 | - change BuildRequires; lcms2-devel instead of lcms-devel |
---|
| 145 | |
---|
[3155] | 146 | * Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-4 |
---|
| 147 | - rebuilt with new toolchain |
---|
| 148 | - s/BuildPrereq/BuildRequires/g |
---|
| 149 | |
---|
[521] | 150 | * Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-3 |
---|
| 151 | - added compat32 package for x86_64 arch support |
---|
| 152 | |
---|
| 153 | * Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-2 |
---|
| 154 | - add libmng-static which is needed by tuxonice-userui |
---|
| 155 | - remove --disable-static |
---|
| 156 | - remove Obsoletes: libmng-static |
---|
| 157 | |
---|
| 158 | * Wed Mar 19 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.10-1 |
---|
| 159 | - new upstream release |
---|
| 160 | - delete *.la |
---|
| 161 | - add --disable-static |
---|
| 162 | |
---|
| 163 | * Sat May 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl1 |
---|
| 164 | - updated to 1.0.9 |
---|
| 165 | - added BuildPrereq: automake, autoconf, libtool |
---|
| 166 | |
---|
| 167 | * Sun May 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl3 |
---|
| 168 | - add BuildPrereq: lcms-devel and Requires: lcms |
---|
| 169 | - add Requires: zlib-devel libjpeg-devel lcms-devel to -devel pkg |
---|
| 170 | - add --with-lcms to configure option |
---|
| 171 | |
---|
| 172 | * Wed May 11 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.7-0vl2 |
---|
| 173 | - rebuilt to fix unwanted dependencies with lcms (ppc only) |
---|
| 174 | |
---|
| 175 | * Thu Apr 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl1 |
---|
| 176 | - rebuild with new toolchains |
---|
| 177 | - updated to 1.0.7 |
---|
| 178 | |
---|
[8084] | 179 | * Tue Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl2 |
---|
[521] | 180 | - License: AS IS |
---|
| 181 | - Obsoletes: libmng-static, and merge %%{prefix}/lib/*.a to -devel pkg |
---|
| 182 | - add PreReq: ldconfig |
---|
| 183 | - revised summaries and descriptions |
---|
| 184 | |
---|
[8084] | 185 | * Tue Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl1 |
---|
[521] | 186 | - source upgrade |
---|
| 187 | - add %%doc Changes LICENSE README doc |
---|
| 188 | - add Requires: %%{name} = %%{version}-%%{release} for devel package |
---|
| 189 | - add Requires: %%{name}-devel = %%{version}-%%{release} for static package |
---|
| 190 | |
---|
| 191 | * Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.3-0vl1 |
---|
| 192 | - Update to 1.0.3 |
---|
| 193 | - Build for VineSeed |
---|
| 194 | |
---|
| 195 | * Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp> |
---|
| 196 | - First build for Vine2.1.5 |
---|
| 197 | |
---|
[8084] | 198 | * Wed Apr 11 2001 Rex Dieter <rdieter@unl.edu> 1.0.0-0.6x.2 |
---|
[521] | 199 | - redhat6 backport based on rawhide's libmng-1.0.0-2 |
---|
| 200 | |
---|
| 201 | * Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com> |
---|
| 202 | - remove bogus symlink trick |
---|
| 203 | |
---|
| 204 | * Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 205 | - Update to 1.0.0 to make Qt 2.3.0 happy |
---|
| 206 | |
---|
[8084] | 207 | * Fri Jan 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
[521] | 208 | - 0.9.4, fixes MNG 1.0 spec compliance |
---|
| 209 | |
---|
| 210 | * Tue Dec 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 211 | - 0.9.3 |
---|
| 212 | - Add ldconfig calls in %%post and %%postun |
---|
| 213 | |
---|
| 214 | * Tue Dec 05 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 215 | - added a clean section to the spec file |
---|
| 216 | |
---|
| 217 | * Tue Sep 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 218 | - initial rpm |
---|
| 219 | |
---|