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