Remove unnecessary files #208

Merged
MicheleC merged 1 commits from remove/unnecessary-files into master 2 months ago

@ -1,38 +0,0 @@
--- libmng/makefiles/makefile.linux.orig Sat Jul 1 15:10:35 2000
+++ libmng/makefiles/makefile.linux Sat Jul 1 15:14:52 2000
@@ -13,19 +13,19 @@
OPTIONS = -DMNG_BUILD_SO
# where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
-prefix=/usr/local
+prefix=/usr
# Where the zlib library and include files are located
-ZLIBLIB=../zlib
-ZLIBINC=../zlib
+ZLIBLIB=/usr/lib
+ZLIBINC=/usr/include
# Where the jpeg library and include files are located
-JPEGLIB=../jpgsrc
-JPEGINC=../jpgsrc
+JPEGLIB=/usr/lib
+JPEGINC=/usr/include
# Where the lcms library and include files are located
-LCMSLIB=../lcms/lib
-LCMSINC=../lcms/source
+LCMSLIB=/usr/lib
+LCMSINC=/usr/include
ALIGN=
# for i386:
@@ -37,7 +37,7 @@
# for pgcc version 2.95.1, -O3 is buggy; don't use it.
-CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall -O3 -funroll-loops \
+CFLAGS=-I$(ZLIBINC) -I$(JPEGINC) -I$(LCMSINC) -Wall $(RPM_OPT_FLAGS) \
$(OPTIONS) $(ALIGN) # $(WARNMORE) -g
LDFLAGS=-L. -Wl,-rpath,. \
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \

@ -1,97 +0,0 @@
Summary: A library of functions for manipulating MNG format files.
Name: libmng
Version: 1.0.4
Release: 2.1
Copyright: AS IS
Group: System Environment/Libraries
Source0: libmng-%{PACKAGE_VERSION}.tar.gz
Patch: libmng-%{PACKAGE_VERSION}-rhconf.patch
URL: http://www.libmng.com/
BuildRoot: /var/tmp/libmng-root
BuildPrereq: libjpeg-devel, zlib-devel, lcms-devel
%description
libmng - library for reading, writing, displaying and examing
Multiple-Image Network Graphics. MNG is the animation extension to the
popular PNG image-format.
%package devel
Summary: Development tools for programs to manipulate MNG format files.
Group: Development/Libraries
Requires: libmng = %{PACKAGE_VERSION}
%description devel
The libmng-devel package contains the header files and static
libraries necessary for developing programs using the MNG
(Multiple-Image Network Graphics) library.
If you want to develop programs which will manipulate MNG image format
files, you should install libmng-devel. You'll also need to install
the libmng package.
%changelog
* Sun Jun 23 2002 Gerard Juyn <gerard@libmng.com>
- updated to 1.0.4
* Mon Sep 18 2001 Gerard Juyn <gerard@libmng.com>
- updated to 1.0.3
* Sat Jul 7 2001 Gerard Juyn <gerard@libmng.com>
- updated to 1.0.2
* Wed May 2 2001 Gerard Juyn <gerard@libmng.com>
- updated to 1.0.1
* Mon Feb 5 2001 Gerard Juyn <gerard@libmng.com>
- updated to 1.0.0
* Fri Jan 19 2001 Gerard Juyn <gerard@libmng.com>
- updated to 0.9.4
* Sat Oct 28 2000 Gerard Juyn <gerard@libmng.com>
- updated to 0.9.3
* Tue Aug 15 2000 MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>
- based on libmng-0.9.2/doc/rpm/libmng.spec
- use %%configure and %%makeinstall
* Sat Aug 5 2000 Gerard Juyn <gerard@libmng.com>
- updated to 0.9.2
* Wed Jul 26 2000 Gerard Juyn <gerard@libmng.com>
- updated to 0.9.1
* Sat Jul 1 2000 MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>
- updated to 0.9.0
* Sat Jun 24 2000 MATSUURA Takanori <t-matsuu@protein.osaka-u.ac.jp>
- 1st release for RPM
%prep
%setup
%configure
%build
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc CHANGES LICENSE README doc
/usr/lib/libmng.so.*
%files devel
%defattr(-,root,root)
/usr/include/*
/usr/lib/libmng.a
/usr/lib/libmng.so
Loading…
Cancel
Save