rpms/exiv2/devel exiv2-0.9.1-deps.patch, NONE, 1.1 exiv2-0.9.1-no_rpath.patch, NONE, 1.1 exiv2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu May 18 17:23:18 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/exiv2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5741/devel

Modified Files:
	.cvsignore sources 
Added Files:
	exiv2-0.9.1-deps.patch exiv2-0.9.1-no_rpath.patch exiv2.spec 
Log Message:
auto-import exiv2-0.9.1-3 on branch devel from exiv2-0.9.1-3.src.rpm

exiv2-0.9.1-deps.patch:

--- NEW FILE exiv2-0.9.1-deps.patch ---
--- exiv2-0.9.1/src/Makefile.deps	2006-01-20 02:45:59.000000000 -0600
+++ exiv2-0.9.1/src/Makefile	2006-05-18 09:10:11.000000000 -0500
@@ -156,6 +156,10 @@
 	@$(LIBTOOL) --mode=compile $(COMPILE.cc) -o $@ $<
 	@$(MAKEDEPEND)
 	@$(POSTDEPEND)
+# The dependancies here are wrong.  It generates .lo output,
+# so things are rebuilt *every* time 'make' is called.  
+# Let's try a quick-n-dirty hack -- Rex
+	touch $@
 
 $(COBJ): %.o: %.c
 	@$(LIBTOOL) --mode=compile $(COMPILE.c) -o $@ $<

exiv2-0.9.1-no_rpath.patch:

--- NEW FILE exiv2-0.9.1-no_rpath.patch ---
--- exiv2-0.9.1/src/Makefile.no_rpath	2006-05-18 08:41:02.000000000 -0500
+++ exiv2-0.9.1/src/Makefile	2006-05-18 09:10:11.000000000 -0500
@@ -148,7 +148,7 @@
 # Compilation shortcuts
 COMPILE.cc = $(CXX) $(CXXFLAGS) $(CXXDEFS) $(CXXINCS) -c
 COMPILE.c = $(CC) $(CFLAGS) $(DEFS) $(INCS) -c
-LINK.cc = $(CXX) $(CXXFLAGS) $(LDLIBS) $(LDFLAGS) -rpath $(libdir)
+LINK.cc = $(CXX) $(CXXFLAGS) $(LDLIBS) $(LDFLAGS) #-rpath $(libdir)
 
 # ******************************************************************************
 # Rules
@@ -203,7 +203,7 @@
 bin: lib $(BINARY) $(EXIV2BIN) $(MCBIN) path-test
 
 lib: $(OBJ)
-	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) $(LOBJ) -o $(LIBRARY) -rpath $(libdir) -release $(EXIV2_VERSION)
+	$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) $(LOBJ) -o $(LIBRARY) -release $(EXIV2_VERSION) -rpath $(libdir)
 	@touch lib
 
 path-test: path-test.o utils.o


--- NEW FILE exiv2.spec ---

Summary: Exif and Iptc metadata manipulation library and tools
Name:	 exiv2
Version: 0.9.1
Release: 3%{?dist} 

License: GPL
Group:	 Applications/Multimedia
URL: 	 http://home.arcor.de/ahuggel/exiv2/
Source:	 http://home.arcor.de/ahuggel/exiv2/exiv2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Patch1: exiv2-0.9.1-no_rpath.patch
Patch2: exiv2-0.9.1-deps.patch



%description
Exiv2 comprises of a C++ library and a command line utility to access image
metadata. Exiv2 supports full read and write access to the Exif and Iptc
metadata, Exif MakerNote support, extract and delete methods for Exif
thumbnails, classes to access Ifd and so on.
The command line utility allows you to:
* print the Exif metadata of Jpeg images as summary info, interpreted values,
  or the plain data for each tag
* print the Iptc metadata of Jpeg images
* print the Jpeg comment of Jpeg images
* set, add and delete Exif and Iptc metadata of Jpeg images
* adjust the Exif timestamp (that's how it all started...)
* rename Exif image files according to the Exif timestamp
* extract, insert and delete Exif metadata (including thumbnails),
  Iptc metadata and Jpeg comments

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group:	 Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
%{summary}.


%prep
%setup -q

%patch1 -p1 -b .no_rpath
%patch2 -p1 -b .deps


%build
%configure --disable-static 

make -C src %{?_smp_mflags} 


%install
rm -rf $RPM_BUILD_ROOT 

make -C src install DESTDIR=$RPM_BUILD_ROOT

# Unpackaged files
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la

# set eXecute bit on installed lib
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libexiv2-*.so


%clean
rm -rf $FPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/exiv2
%{_libdir}/libexiv2-*.so
%{_mandir}/man1/*

%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_bindir}/exiv2-config
%{_includedir}/exiv2/
%{_libdir}/libexiv2.so


%changelog
* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-3
- cleanup %%description
- set eXecute bit on installed lib.
- no_rpath patch
- deps patch (items get (re)compiled on *every* call to 'make')

* Wed May 17 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-2
- %%post/%%postun: /sbin/ldconfig

* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-1
- first try


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/exiv2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 May 2006 17:22:54 -0000	1.1
+++ .cvsignore	18 May 2006 17:23:18 -0000	1.2
@@ -0,0 +1 @@
+exiv2-0.9.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/exiv2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 May 2006 17:22:54 -0000	1.1
+++ sources	18 May 2006 17:23:18 -0000	1.2
@@ -0,0 +1 @@
+4c6593751368f5e9235d85e0d4058e67  exiv2-0.9.1.tar.gz




More information about the fedora-extras-commits mailing list