Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libunique1
libunique1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libunique1.spec of Package libunique1
# # spec file for package libunique1 # # 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: libunique1 %define _name libunique Version: 1.1.6 Release: 0 Summary: A library for writing single instance application License: LGPL-2.1+ Group: System/Libraries Url: http://live.gnome.org/LibUnique Source: %{_name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libunique1-gcc46.patch dimstar@opensuse.org -- Backport commit f791ed from master to unique-1.1. Patch0: libunique1-gcc46.patch # PATCH-FIX-UPSTREAM libunique1-no_g_const_return.patch dimstar@opensuse.org -- Use const instead of G_CONST_RETURN. Not send upstream, as libunique1 is obsoleted. Patch1: libunique1-no_g_const_return.patch BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: pkg-config BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gtk+-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libunique-1_0-0 = %{version} %description Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. %package -n libunique-1_0-0 Summary: A library for writing single instance application Group: System/Libraries %description -n libunique-1_0-0 Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. %package -n typelib-1_0-Unique-1_0 Summary: A library for writing single instance application -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-Unique-1_0 Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. This package provides the GObject Introspection bindings forlibunique. %package devel Summary: A library for writing single instance application - development files Group: Development/Libraries/GNOME Requires: libunique-1_0-0 = %{version} Requires: typelib-1_0-Unique-1_0 = %{version} Provides: unique-doc = %{version} Obsoletes: unique-doc < %{version} Provides: unique-devel = %{version} Obsoletes: unique-devel < %{version} %description devel Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 %patch1 -p1 %build # We use --disable-maintainer-flags to allow building with deprecated API %configure \ --enable-debug=no \ --enable-static=no \ --enable-dbus=yes \ --disable-maintainer-flags make %{?_smp_mflags} %install %make_install rm %{buildroot}%{_libdir}/*.la %post -n libunique-1_0-0 -p /sbin/ldconfig %postun -n libunique-1_0-0 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n libunique-1_0-0 %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_libdir}/*.so.0* %files -n typelib-1_0-Unique-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Unique-1.0.typelib %files devel %defattr(-,root,root) %{_includedir}/unique-1.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/*.gir %doc %{_datadir}/gtk-doc/html/unique %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