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