94 lines
2.5 KiB
RPMSpec
94 lines
2.5 KiB
RPMSpec
Name: unique3
|
|
Version: 3.0.2
|
|
Release: 1%{?dist}
|
|
Summary: Single instance support for applications
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
URL: http://www.gnome.org/~ebassi/source/
|
|
Source0: http://download.gnome.org/sources/libunique/3.0/libunique-%{version}.tar.xz
|
|
|
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
|
BuildRequires: libtool
|
|
BuildRequires: glib2-devel >= 2.25.0
|
|
BuildRequires: gtk3-devel >= 2.99.3
|
|
BuildRequires: gtk-doc >= 1.11
|
|
|
|
BuildRequires: automake autoconf libtool
|
|
|
|
%description
|
|
Unique is a library for writing single instance applications, that is
|
|
applications that are run once and every further call to the same binary
|
|
either exits immediately or sends a command to the running instance.
|
|
|
|
This version of unique works with GTK+ 3.
|
|
|
|
%package devel
|
|
Summary: Libraries and headers for unique3
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: glib2-devel
|
|
Requires: gtk3-devel
|
|
|
|
%description devel
|
|
Headers and libraries for unique3.
|
|
|
|
%prep
|
|
%setup -q -n libunique-%{?version}
|
|
|
|
autoreconf -i -f
|
|
|
|
%build
|
|
%configure --enable-gtk-doc --disable-static --enable-introspection=no
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS ChangeLog COPYING README
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc %{_datadir}/gtk-doc
|
|
%{_includedir}/unique-3.0/
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/lib*.so
|
|
|
|
%changelog
|
|
* Wed Jun 15 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.2-1
|
|
- Update to 3.0.2
|
|
|
|
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
|
|
- Update to 3.0.0
|
|
|
|
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-4
|
|
- Rebuild against newer gtk
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.4-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-2
|
|
- Rebuild against newer gtk
|
|
|
|
* Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-1
|
|
- Update to 2.91.4
|
|
|
|
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.1-4
|
|
- Rebuild against newer gtk
|
|
|
|
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.1-3
|
|
- Rebuild against newer gtk3
|
|
|
|
* Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.1-2
|
|
- Co-own /usr/share/gtk-doc (#604415)
|
|
|
|
* Thu Jul 1 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.1-1
|
|
- Initial packaging
|