SPECS: exiv2.spec (NEW) - based on template

wrobell wrobell at pld-linux.org
Fri Sep 2 14:19:38 CEST 2005


Author: wrobell                      Date: Fri Sep  2 12:19:38 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on template

---- Files affected:
SPECS:
   exiv2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/exiv2.spec
diff -u /dev/null SPECS/exiv2.spec:1.1
--- /dev/null	Fri Sep  2 14:19:38 2005
+++ SPECS/exiv2.spec	Fri Sep  2 14:19:32 2005
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%bcond_without	tests		# build without tests
+#
+Summary:	Exif and Iptc metadata manipulation tools
+Name:		exiv2
+Version:	0.7
+Release:	0.1
+License:	- (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
+Group:		Applications
+Source0:	http://home.arcor.de/ahuggel/exiv2/%{name}-%{version}.tar.gz
+# Source0-md5:	-
+URL:		http://home.arcor.de/ahuggel/exiv2/
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Exif and Iptc metadata manipulation library and tools.
+
+%package libs
+Summary:	Exif and Iptc metadata manipulation library
+Group:		Libraries
+
+%description libs
+Exif and Iptc metadata manipulation library.
+
+%package devel
+Summary:	Exif and Iptc metadata manipulation library development files
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description devel
+Exif and Iptc metadata manipulation library development files.
+
+%package static
+Summary:	Exif and Iptc metadata manipulation static library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Exif and Iptc metadata manipulation static library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	incdir=$RPM_BUILD_ROOT%{_includedir}/exiv2 \
+	libdir=$RPM_BUILD_ROOT%{_libdir} \
+	bindir=$RPM_BUILD_ROOT%{_bindir} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/ChangeLog README
+%attr(755,root,root) %{_bindir}/*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/09/02 12:19:32  wrobell
+- based on template
+
================================================================



More information about the pld-cvs-commit mailing list