2024-01-06 05:58:55 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libunique
|
|
|
|
Version: 3.0.2
|
2024-02-01 20:39:34 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:58:55 +01:00
|
|
|
Summary: A library for writing single instance application
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-01 20:39:34 +01:00
|
|
|
URL: https://wiki.gnome.org/LibUnique
|
|
|
|
Source: https://download.gnome.org/sources/libunique/%{majver}/libunique-%{version}.tar.xz
|
2024-01-06 05:58:55 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-02-01 20:39:34 +01:00
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-06 05:58:55 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libdbus-glib-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-02-01 20:39:34 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 05:58:55 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-02-01 20:39:34 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-06 05:58:55 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%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.
|
|
|
|
Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side.
|
2024-02-01 20:39:34 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:58:55 +01:00
|
|
|
|
2024-02-01 20:39:34 +01:00
|
|
|
%debug_package
|
2024-01-06 05:58:55 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libunique-3.0.so.*
|
2024-02-01 20:39:34 +01:00
|
|
|
%{_libdir}/girepository-1.0/Unique-3.0.typelib
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-06 05:58:55 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/unique-3.0/unique/unique*.h
|
2024-02-01 20:39:34 +01:00
|
|
|
%{_libdir}/libunique-3.0.so
|
2024-01-06 05:58:55 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/unique-3.0
|
2024-02-01 20:39:34 +01:00
|
|
|
%{_datadir}/gir-1.0/Unique-3.0.gir
|
2024-01-06 05:58:55 +01:00
|
|
|
%{_datadir}/gtk-doc/html/unique-3.0/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2024-02-01 20:39:34 +01:00
|
|
|
%doc ChangeLog NEWS README
|
2024-01-06 05:58:55 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-01 20:39:34 +01:00
|
|
|
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 3.0.2-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-06 05:58:55 +01:00
|
|
|
* Mon Jul 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
|
|
|
|
- update to 3.0.2
|
|
|
|
|
|
|
|
* Thu Oct 28 2010 Automatic Build System <autodist@mambasoft.it> 1.1.6-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 1.1.6-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- update to 1.1.2
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.8-1mamba
|
|
|
|
- package created by autospec
|