[521] | 1 | Name: unique |
---|
[805] | 2 | Version: 1.1.6 |
---|
[10830] | 3 | Release: 4%{?_dist_release} |
---|
[521] | 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/ |
---|
[10830] | 10 | Source0: http://download.gnome.org/sources/libunique/1.1/libunique-%{version}.tar.bz2 |
---|
[8119] | 11 | |
---|
| 12 | Patch0: libunique-1.1.6-remove-disable-deprecated.patch |
---|
[10830] | 13 | Patch1: fix-unused-but-set-variable.patch |
---|
| 14 | Patch2: libunique-1.1.6-format-security.patch |
---|
[8119] | 15 | |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | BuildRequires: dbus-glib-devel |
---|
| 19 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 20 | BuildRequires: libtool |
---|
[805] | 21 | BuildRequires: glib2-devel >= 2.12.0 |
---|
| 22 | BuildRequires: gtk2-devel >= 2.11.0 |
---|
[8119] | 23 | BuildRequires: gtk-doc >= 1.11 |
---|
[521] | 24 | |
---|
[8119] | 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
| 27 | Packager: Takemikaduchi |
---|
| 28 | |
---|
[521] | 29 | %description |
---|
| 30 | Unique is a library for writing single instance applications, that is |
---|
| 31 | applications that are run once and every further call to the same binary |
---|
| 32 | either exits immediately or sends a command to the running instance. |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Libraries and headers for Unique |
---|
| 36 | Summary(ja): Unique のライブラリとヘッダ |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | Requires: pkgconfig |
---|
[805] | 40 | Requires: gtk-doc >= 1.11 |
---|
[521] | 41 | Requires: dbus-glib-devel |
---|
| 42 | Requires: gtk2-devel |
---|
| 43 | |
---|
| 44 | %description devel |
---|
| 45 | Headers and libraries for Unique. |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q -n libunique-%{version} |
---|
[8119] | 49 | %patch0 -p1 |
---|
[10830] | 50 | %patch1 -p1 |
---|
| 51 | %patch2 -p1 |
---|
[521] | 52 | |
---|
| 53 | %build |
---|
[8119] | 54 | %configure \ |
---|
| 55 | --enable-gtk-doc \ |
---|
| 56 | --disable-static \ |
---|
| 57 | --disable-introspection \ |
---|
| 58 | --enable-maintainer-flags=no |
---|
[521] | 59 | make %{?_smp_mflags} |
---|
| 60 | |
---|
| 61 | %install |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 64 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | %post -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | %postun -p /sbin/ldconfig |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %defattr(-,root,root,-) |
---|
| 75 | %doc AUTHORS ChangeLog COPYING README |
---|
| 76 | %{_libdir}/lib*.so.* |
---|
| 77 | |
---|
| 78 | %files devel |
---|
| 79 | %defattr(-,root,root,-) |
---|
| 80 | %doc %{_datadir}/gtk-doc/html/unique/ |
---|
| 81 | %{_includedir}/unique-1.0/ |
---|
| 82 | %{_libdir}/pkgconfig/* |
---|
| 83 | %{_libdir}/lib*.so |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[10830] | 86 | * Fri Nov 25 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.1.6-4 |
---|
| 87 | - add some patches from Rawhide 1.1.6-15.fc24 |
---|
| 88 | - fix-unused-but-set-variable.patch (Patch1) |
---|
| 89 | - libunique-1.1.6-format-security.patch (for test; Patch2) |
---|
| 90 | - update Source0 URI |
---|
| 91 | |
---|
[8119] | 92 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-3 |
---|
| 93 | - rebuild with VineSeed environment |
---|
| 94 | - add Patch0 (libunique-1.1.6-remove-disable-deprecated.patch) |
---|
| 95 | - add configure option (--enable-maintainer-flags=no) |
---|
| 96 | |
---|
[1883] | 97 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2 |
---|
| 98 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 99 | - add BuildRequires: gtk-doc |
---|
| 100 | |
---|
[805] | 101 | * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[521] | 104 | * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1 |
---|
| 105 | - new upstream release |
---|
| 106 | - added Japanese description for unique |
---|
| 107 | - fixed Japanese description for unique-devel |
---|
| 108 | - fixed BuildRoot |
---|
| 109 | |
---|
| 110 | * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
| 113 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 114 | - initial build for Vine Linux |
---|
| 115 | |
---|
| 116 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4 |
---|
| 117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 118 | |
---|
| 119 | * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-3 |
---|
| 120 | - Actually apply the patch |
---|
| 121 | |
---|
| 122 | * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-2 |
---|
| 123 | - Fix a nautilus segfault |
---|
| 124 | |
---|
| 125 | * Mon Nov 24 2008 Richard Hughes <rhughes@redhat.com> - 1.0.4-1 |
---|
| 126 | - Update to latest upstream version |
---|
| 127 | * Plug a leak in UniqueMessageData |
---|
| 128 | * Fix linking with --as-needed |
---|
| 129 | * Do not export private functions symbols |
---|
| 130 | |
---|
| 131 | * Sat Nov 22 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-2 |
---|
| 132 | - Fix up summary text |
---|
| 133 | |
---|
| 134 | * Thu Jul 31 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-1 |
---|
| 135 | - Update to latest upstream version |
---|
| 136 | * First stable release |
---|
| 137 | * API is frozen |
---|
| 138 | * D-Bus and socket backends supported |
---|
| 139 | |
---|
| 140 | * Fri May 16 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-5 |
---|
| 141 | - More updates to the spec file from Dan Horak, rh#446407 |
---|
| 142 | |
---|
| 143 | * Thu May 15 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-4 |
---|
| 144 | - Updates to the spec file from Dan Horak, rh#446407 |
---|
| 145 | |
---|
| 146 | * Thu May 08 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-3 |
---|
| 147 | - Initial version |
---|
| 148 | |
---|