diff --git a/README.md b/README.md index 4082e83..7849962 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libunique +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. + diff --git a/libunique.spec b/libunique.spec new file mode 100644 index 0000000..8100499 --- /dev/null +++ b/libunique.spec @@ -0,0 +1,108 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: libunique +Version: 3.0.2 +Release: 1mamba +Summary: A library for writing single instance application +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://live.gnome.org/LibUnique +Source: http://ftp.gnome.org/pub/GNOME/sources/libunique/%{majver}/libunique-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libexpat-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libGL-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng14-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libselinux-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXrender-devel +BuildRequires: libz-devel +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 need for development. + +%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.* +%doc AUTHORS COPYING ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +%{_libdir}/libunique-3.0.la +%{_libdir}/libunique-3.0.so +%{_libdir}/girepository-1.0/Unique-3.0.typelib +%{_datadir}/gir-1.0/Unique-3.0.gir +%{_includedir}/unique-3.0/unique/unique*.h +%dir %{_datadir}/gtk-doc/html/unique-3.0 +%{_datadir}/gtk-doc/html/unique-3.0/* +%{_libdir}/pkgconfig/*.pc + +%changelog +* Mon Jul 25 2011 Silvan Calarco 3.0.2-1mamba +- update to 3.0.2 + +* Thu Oct 28 2010 Automatic Build System 1.1.6-3mamba +- automatic rebuild by autodist + +* Sat Jun 26 2010 Automatic Build System 1.1.6-2mamba +- automatic rebuild by autodist + +* Thu Jun 03 2010 Automatic Build System 1.1.6-1mamba +- automatic update by autodist + +* Sun Sep 27 2009 Silvan Calarco 1.1.2-1mamba +- update to 1.1.2 + +* Mon Mar 30 2009 Silvan Calarco 1.0.8-1mamba +- package created by autospec