unique3-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Name: unique3
  2. Version: 3.0.2
  3. Release: 1%{?_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: gtk3-devel >= 2.90.0
  16. BuildRequires: gtk-doc >= 1.11
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Unique is a library for writing single instance applications, that is
  21. applications that are run once and every further call to the same binary
  22. either exits immediately or sends a command to the running instance.
  23. %package devel
  24. Summary: Libraries and headers for Unique
  25. Summary(ja): Unique のライブラリとヘッダ
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. Requires: gtk-doc >= 1.11
  30. Requires: dbus-glib-devel
  31. Requires: gtk3-devel
  32. %description devel
  33. Headers and libraries for Unique.
  34. %prep
  35. %setup -q -n libunique-%{version}
  36. %build
  37. %configure --enable-gtk-doc --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS ChangeLog COPYING README
  50. %{_libdir}/lib*.so.*
  51. %{_libdir}/girepository-1.0/Unique-3.0.typelib
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %doc %{_datadir}/gtk-doc/html/unique-3.0
  55. %{_includedir}/unique-3.0/
  56. %{_libdir}/pkgconfig/unique-3.0.pc
  57. %{_libdir}/lib*.so
  58. %{_datadir}/gir-1.0/Unique-3.0.gir
  59. %changelog
  60. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  61. - initial build for Vine Linux