unique-vl.spec 3.5 KB

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