Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libgexiv2
libgexiv2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgexiv2.spec of Package libgexiv2
# # spec file for package libgexiv2 # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libgexiv2 Version: 0.4.1 Release: 0 Summary: A GObject-based Exiv2 wrapper License: GPL-2.0+ Group: System/Libraries Url: http://yorba.org/shotwell/ Source: http://yorba.org/download/gexiv2/0.4/%{name}-%{version}.tar.bz2 BuildRequires: gcc-c++ %if 0%{?suse_version} < 1140 BuildRequires: libexiv2-devel %else BuildRequires: pkgconfig(exiv2) %endif BuildRequires: libtool BuildRequires: pkgconfig(gobject-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications. %package -n libgexiv2-1 Summary: A GObject-based Exiv2 wrapper Group: System/Libraries %description -n libgexiv2-1 gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications. %package devel Summary: A GObject-based Exiv2 wrapper -- Development Files Group: Development/Libraries/C and C++ Requires: libgexiv2-1 = %{version} %if 0%{?suse_version} < 1140 # This is really a hack: we'll get a Requires on pkgconfig(exiv2) # automatically, and libexiv2-devel doesn't provide this for now, so... Provides: pkgconfig(exiv2) Requires: libexiv2-devel %endif %description devel gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications. %prep %setup -q %build # We can't use the configure macro: it's not a standard autotools configure script export CFLAGS="%{optflags}" ./configure \ --prefix=%{_prefix} %__make %{?jobs:-j%{jobs}} %install %makeinstall LIB=%{_lib} %__rm %{buildroot}%{_libdir}/libgexiv2.*a %clean rm -rf %{buildroot} %post -n libgexiv2-1 -p /sbin/ldconfig %postun -n libgexiv2-1 -p /sbin/ldconfig %files -n libgexiv2-1 %defattr(-,root,root) %doc AUTHORS COPYING MAINTAINERS NEWS README THANKS %{_libdir}/libgexiv2.so.* %files devel %defattr(-,root,root) %{_includedir}/gexiv2/ %{_libdir}/libgexiv2.so %{_libdir}/pkgconfig/gexiv2.pc %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gexiv2.vapi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor