unique-vl.spec 4.2 KB

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