unique-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. License: LGPLv2+
  10. URL: http://www.gnome.org/~ebassi/source/
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source0: http://download.gnome.org/sources/libunique/%{shortver}/libunique-%{version}.tar.bz2
  13. Patch0: libunique-1.1.6-remove-disable-deprecated.patch
  14. Patch1: fix-unused-but-set-variable.patch
  15. Patch2: libunique-1.1.6-format-security.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: gnome-doc-utils >= 0.3.2
  19. BuildRequires: libtool
  20. BuildRequires: glib2-devel >= 2.12.0
  21. BuildRequires: gtk2-devel >= 2.11.0
  22. BuildRequires: gtk-doc >= 1.11
  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. # fix compatibility with gtk-doc 1.26
  44. gtkdocize
  45. autoreconf -fiv
  46. %build
  47. %configure \
  48. --enable-gtk-doc \
  49. --disable-static \
  50. --disable-introspection \
  51. --enable-maintainer-flags=no
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make install DESTDIR=$RPM_BUILD_ROOT
  56. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %license COPYING
  64. %doc AUTHORS ChangeLog README
  65. %{_libdir}/lib*.so.*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc %{_datadir}/gtk-doc/html/unique/
  69. %{_includedir}/unique-1.0/
  70. %{_libdir}/pkgconfig/*
  71. %{_libdir}/lib*.so
  72. %changelog
  73. * Fri May 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.6-5
  74. - rebuilt with current environment.
  75. * Fri Nov 25 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.1.6-4
  76. - add some patches from Rawhide 1.1.6-15.fc24
  77. - fix-unused-but-set-variable.patch (Patch1)
  78. - libunique-1.1.6-format-security.patch (for test; Patch2)
  79. - update Source0 URI
  80. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-3
  81. - rebuild with VineSeed environment
  82. - add Patch0 (libunique-1.1.6-remove-disable-deprecated.patch)
  83. - add configure option (--enable-maintainer-flags=no)
  84. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2
  85. - rebuild with rpm-4.8.1 for pkg-config file
  86. - add BuildRequires: gtk-doc
  87. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1
  88. - new upstream release
  89. * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  90. - new upstream release
  91. - added Japanese description for unique
  92. - fixed Japanese description for unique-devel
  93. - fixed BuildRoot
  94. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-2
  95. - new upstream release
  96. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  97. - initial build for Vine Linux
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-3
  101. - Actually apply the patch
  102. * Sat Dec 20 2008 Matthias Clasen <mclasen@redhat.com> - 1.0.4-2
  103. - Fix a nautilus segfault
  104. * Mon Nov 24 2008 Richard Hughes <rhughes@redhat.com> - 1.0.4-1
  105. - Update to latest upstream version
  106. * Plug a leak in UniqueMessageData
  107. * Fix linking with --as-needed
  108. * Do not export private functions symbols
  109. * Sat Nov 22 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-2
  110. - Fix up summary text
  111. * Thu Jul 31 2008 Richard Hughes <rhughes@redhat.com> - 1.0.0-1
  112. - Update to latest upstream version
  113. * First stable release
  114. * API is frozen
  115. * D-Bus and socket backends supported
  116. * Fri May 16 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-5
  117. - More updates to the spec file from Dan Horak, rh#446407
  118. * Thu May 15 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-4
  119. - Updates to the spec file from Dan Horak, rh#446407
  120. * Thu May 08 2008 Richard Hughes <rhughes@redhat.com> - 0.9.4-3
  121. - Initial version