unique-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Name: unique
  2. Version: 1.1.6
  3. Release: 3%{?_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. Patch0: libunique-1.1.6-remove-disable-deprecated.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: dbus-glib-devel
  13. BuildRequires: gnome-doc-utils >= 0.3.2
  14. BuildRequires: libtool
  15. BuildRequires: glib2-devel >= 2.12.0
  16. BuildRequires: gtk2-devel >= 2.11.0
  17. BuildRequires: gtk-doc >= 1.11
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. Unique is a library for writing single instance applications, that is
  23. applications that are run once and every further call to the same binary
  24. either exits immediately or sends a command to the running instance.
  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. %description devel
  35. Headers and libraries for Unique.
  36. %prep
  37. %setup -q -n libunique-%{version}
  38. %patch0 -p1
  39. %build
  40. %configure \
  41. --enable-gtk-doc \
  42. --disable-static \
  43. --disable-introspection \
  44. --enable-maintainer-flags=no
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT
  49. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %defattr(-,root,root,-)
  56. %doc AUTHORS ChangeLog COPYING README
  57. %{_libdir}/lib*.so.*
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %doc %{_datadir}/gtk-doc/html/unique/
  61. %{_includedir}/unique-1.0/
  62. %{_libdir}/pkgconfig/*
  63. %{_libdir}/lib*.so
  64. %changelog
  65. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-3
  66. - rebuild with VineSeed environment
  67. - add Patch0 (libunique-1.1.6-remove-disable-deprecated.patch)
  68. - add configure option (--enable-maintainer-flags=no)
  69. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2
  70. - rebuild with rpm-4.8.1 for pkg-config file
  71. - add BuildRequires: gtk-doc
  72. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1
  73. - new upstream release
  74. * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  75. - new upstream release
  76. - added Japanese description for unique
  77. - fixed Japanese description for unique-devel
  78. - fixed BuildRoot
  79. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2
  80. - new upstream release
  81. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  82. - initial build for Vine Linux
  83. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  85. * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-3
  86. - Actually apply the patch
  87. * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-2
  88. - Fix a nautilus segfault
  89. * Mon Nov 24 2008 Richard Hughes <rhughes@redhat.com> - 1.0.4-1
  90. - Update to latest upstream version
  91. * Plug a leak in UniqueMessageData
  92. * Fix linking with --as-needed
  93. * Do not export private functions symbols
  94. * Sat Nov 22 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-2
  95. - Fix up summary text
  96. * Thu Jul 31 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-1
  97. - Update to latest upstream version
  98. * First stable release
  99. * API is frozen
  100. * D-Bus and socket backends supported
  101. * Fri May 16 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-5
  102. - More updates to the spec file from Dan Horak, rh#446407
  103. * Thu May 15 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-4
  104. - Updates to the spec file from Dan Horak, rh#446407
  105. * Thu May 08 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-3
  106. - Initial version