[4616] | 1 | Name: unique3 |
---|
| 2 | Version: 3.0.2 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Single instance support for applications |
---|
| 5 | Summary(ja): アプリケーションのシングルインスタンス支援 |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: LGPLv2+ |
---|
| 9 | URL: http://www.gnome.org/~ebassi/source/ |
---|
| 10 | Source0: http://www.gnome.org/~ebassi/source/libunique-%{version}.tar.bz2 |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: dbus-glib-devel |
---|
| 14 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 15 | BuildRequires: libtool |
---|
| 16 | BuildRequires: glib2-devel >= 2.12.0 |
---|
| 17 | BuildRequires: gtk3-devel >= 2.90.0 |
---|
| 18 | BuildRequires: gtk-doc >= 1.11 |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | |
---|
| 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 | |
---|
| 28 | %package devel |
---|
| 29 | Summary: Libraries and headers for Unique |
---|
| 30 | Summary(ja): Unique のライブラリとヘッダ |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires: %{name} = %{version}-%{release} |
---|
| 33 | Requires: pkgconfig |
---|
| 34 | Requires: gtk-doc >= 1.11 |
---|
| 35 | Requires: dbus-glib-devel |
---|
| 36 | Requires: gtk3-devel |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | Headers and libraries for Unique. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n libunique-%{version} |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | %configure --enable-gtk-doc --disable-static |
---|
| 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 51 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %post -p /sbin/ldconfig |
---|
| 57 | |
---|
| 58 | %postun -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc AUTHORS ChangeLog COPYING README |
---|
| 63 | %{_libdir}/lib*.so.* |
---|
| 64 | %{_libdir}/girepository-1.0/Unique-3.0.typelib |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-,root,root,-) |
---|
| 68 | %doc %{_datadir}/gtk-doc/html/unique-3.0 |
---|
| 69 | %{_includedir}/unique-3.0/ |
---|
| 70 | %{_libdir}/pkgconfig/unique-3.0.pc |
---|
| 71 | %{_libdir}/lib*.so |
---|
| 72 | %{_datadir}/gir-1.0/Unique-3.0.gir |
---|
| 73 | |
---|
| 74 | %changelog |
---|
| 75 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 76 | - initial build for Vine Linux |
---|
| 77 | |
---|