libunique/libunique.spec

98 lines
3.3 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libunique
Version: 3.0.2
Release: 2mamba
Summary: A library for writing single instance application
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/LibUnique
Source: https://download.gnome.org/sources/libunique/%{majver}/libunique-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libsystemd-devel
## 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.
This package contains static libraries and header files needed for development.
%debug_package
%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.*
%{_libdir}/girepository-1.0/Unique-3.0.typelib
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/unique-3.0/unique/unique*.h
%{_libdir}/libunique-3.0.so
%dir %{_datadir}/gtk-doc/html/unique-3.0
%{_datadir}/gir-1.0/Unique-3.0.gir
%{_datadir}/gtk-doc/html/unique-3.0/*
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README
%changelog
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 3.0.2-2mamba
- automatic rebuild by autodist
* 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