summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-03 20:46:35 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-11-03 20:46:35 -0700
commit276e6ecf7671cdcce689e02f980855a9c0fa4ce5 (patch)
treeb81fb373fadf7a5a6013a6d8066754ce1725dcfe /packaging
parent3fd35d1c850415cba18ca3aa77314afb5b86d567 (diff)
downloadlibexif-276e6ecf7671cdcce689e02f980855a9c0fa4ce5.tar.gz
libexif-276e6ecf7671cdcce689e02f980855a9c0fa4ce5.tar.bz2
libexif-276e6ecf7671cdcce689e02f980855a9c0fa4ce5.zip
add packaging
Diffstat (limited to 'packaging')
-rw-r--r--packaging/baselibs.conf1
-rw-r--r--packaging/libexif.spec61
2 files changed, 62 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644
index 0000000..79823fa
--- /dev/null
+++ b/packaging/baselibs.conf
@@ -0,0 +1 @@
+libexif12
diff --git a/packaging/libexif.spec b/packaging/libexif.spec
new file mode 100644
index 0000000..21d9609
--- /dev/null
+++ b/packaging/libexif.spec
@@ -0,0 +1,61 @@
+Name: libexif
+Version: 0.6.21
+Release: 0
+License: LGPL-2.1+
+Summary: An EXIF Tag Parsing Library for Digital Cameras
+Url: http://libexif.sourceforge.net
+Group: System/Libraries
+Source: %{name}-%{version}.tar.bz2
+Source1: baselibs.conf
+BuildRequires: doxygen
+BuildRequires: pkg-config
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%define debug_package_requires %{name} = %{version}-%{release}
+
+%description
+This library is used to parse EXIF information from JPEGs created by
+digital cameras.
+
+%package devel
+Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
+Group: Development/Libraries/C and C++
+Requires: %{name} = %{version}
+Requires: glibc-devel
+
+%description devel
+This library is used to parse EXIF information from JPEGs created by
+digital cameras.
+
+%prep
+%setup -q
+
+%build
+%configure --with-pic \
+ --disable-static \
+ --with-doc-dir=%{_docdir}/%{name}
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+%find_lang %{name}-12
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}-12.lang
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root)
+%doc %{_docdir}/%{name}
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/*
+
+%changelog