| 1 | Name: unique |
|---|
| 2 | Version: 1.1.6 |
|---|
| 3 | Release: 2%{?_dist_release} |
|---|
| 4 | Summary: Single instance support for applications |
|---|
| 5 | Summary(ja): アプリケーションのシングルインスタンス支援 |
|---|
| 6 | |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | License: LGPLv2+ |
|---|
| 9 | URL: http://www.gnome.org/~ebassi/source/ |
|---|
| 10 | Source0: http://www.gnome.org/~ebassi/source/libunique-%{version}.tar.bz2 |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | |
|---|
| 13 | BuildRequires: dbus-glib-devel |
|---|
| 14 | BuildRequires: gnome-doc-utils >= 0.3.2 |
|---|
| 15 | BuildRequires: libtool |
|---|
| 16 | BuildRequires: glib2-devel >= 2.12.0 |
|---|
| 17 | BuildRequires: gtk2-devel >= 2.11.0 |
|---|
| 18 | BuildRequires: gtk-doc >= 1.11 |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | Unique is a library for writing single instance applications, that is |
|---|
| 22 | applications that are run once and every further call to the same binary |
|---|
| 23 | either exits immediately or sends a command to the running instance. |
|---|
| 24 | |
|---|
| 25 | %package devel |
|---|
| 26 | Summary: Libraries and headers for Unique |
|---|
| 27 | Summary(ja): Unique のライブラリとヘッダ |
|---|
| 28 | Group: Development/Libraries |
|---|
| 29 | Requires: %{name} = %{version}-%{release} |
|---|
| 30 | Requires: pkgconfig |
|---|
| 31 | Requires: gtk-doc >= 1.11 |
|---|
| 32 | Requires: dbus-glib-devel |
|---|
| 33 | Requires: gtk2-devel |
|---|
| 34 | |
|---|
| 35 | %description devel |
|---|
| 36 | Headers and libraries for Unique. |
|---|
| 37 | |
|---|
| 38 | %prep |
|---|
| 39 | %setup -q -n libunique-%{version} |
|---|
| 40 | |
|---|
| 41 | %build |
|---|
| 42 | %configure --enable-gtk-doc --disable-static |
|---|
| 43 | make %{?_smp_mflags} |
|---|
| 44 | |
|---|
| 45 | %install |
|---|
| 46 | rm -rf $RPM_BUILD_ROOT |
|---|
| 47 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 48 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|---|
| 49 | |
|---|
| 50 | %clean |
|---|
| 51 | rm -rf $RPM_BUILD_ROOT |
|---|
| 52 | |
|---|
| 53 | %post -p /sbin/ldconfig |
|---|
| 54 | |
|---|
| 55 | %postun -p /sbin/ldconfig |
|---|
| 56 | |
|---|
| 57 | %files |
|---|
| 58 | %defattr(-,root,root,-) |
|---|
| 59 | %doc AUTHORS ChangeLog COPYING README |
|---|
| 60 | %{_libdir}/lib*.so.* |
|---|
| 61 | |
|---|
| 62 | %files devel |
|---|
| 63 | %defattr(-,root,root,-) |
|---|
| 64 | %doc %{_datadir}/gtk-doc/html/unique/ |
|---|
| 65 | %{_includedir}/unique-1.0/ |
|---|
| 66 | %{_libdir}/pkgconfig/* |
|---|
| 67 | %{_libdir}/lib*.so |
|---|
| 68 | |
|---|
| 69 | %changelog |
|---|
| 70 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2 |
|---|
| 71 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 72 | - add BuildRequires: gtk-doc |
|---|
| 73 | |
|---|
| 74 | * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1 |
|---|
| 75 | - new upstream release |
|---|
| 76 | |
|---|
| 77 | * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1 |
|---|
| 78 | - new upstream release |
|---|
| 79 | - added Japanese description for unique |
|---|
| 80 | - fixed Japanese description for unique-devel |
|---|
| 81 | - fixed BuildRoot |
|---|
| 82 | |
|---|
| 83 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2 |
|---|
| 84 | - new upstream release |
|---|
| 85 | |
|---|
| 86 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
|---|
| 87 | - initial build for Vine Linux |
|---|
| 88 | |
|---|
| 89 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4 |
|---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 91 | |
|---|
| 92 | * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-3 |
|---|
| 93 | - Actually apply the patch |
|---|
| 94 | |
|---|
| 95 | * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-2 |
|---|
| 96 | - Fix a nautilus segfault |
|---|
| 97 | |
|---|
| 98 | * Mon Nov 24 2008 Richard Hughes <rhughes@redhat.com> - 1.0.4-1 |
|---|
| 99 | - Update to latest upstream version |
|---|
| 100 | * Plug a leak in UniqueMessageData |
|---|
| 101 | * Fix linking with --as-needed |
|---|
| 102 | * Do not export private functions symbols |
|---|
| 103 | |
|---|
| 104 | * Sat Nov 22 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-2 |
|---|
| 105 | - Fix up summary text |
|---|
| 106 | |
|---|
| 107 | * Thu Jul 31 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-1 |
|---|
| 108 | - Update to latest upstream version |
|---|
| 109 | * First stable release |
|---|
| 110 | * API is frozen |
|---|
| 111 | * D-Bus and socket backends supported |
|---|
| 112 | |
|---|
| 113 | * Fri May 16 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-5 |
|---|
| 114 | - More updates to the spec file from Dan Horak, rh#446407 |
|---|
| 115 | |
|---|
| 116 | * Thu May 15 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-4 |
|---|
| 117 | - Updates to the spec file from Dan Horak, rh#446407 |
|---|
| 118 | |
|---|
| 119 | * Thu May 08 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-3 |
|---|
| 120 | - Initial version |
|---|
| 121 | |
|---|