Author: megabajt Date: Tue Jun 3 15:44:17 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: unique.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/unique.spec diff -u /dev/null SPECS/unique.spec:1.1 --- /dev/null Tue Jun 3 17:44:17 2008 +++ SPECS/unique.spec Tue Jun 3 17:44:12 2008 @@ -0,0 +1,133 @@ +# $Revision$, $Date$ +Summary: Library to make sure only one instance of a program is running +Summary(pl.UTF-8): Biblioteka zapewniająca uruchamianie tylko jednej instancji programu +Name: unique +Version: 0.9.4 +Release: 1 +License: LGPL v2+ +Group: X11/Libraries +Source0: http://www.gnome.org/~ebassi/source/%{name}-%{version}.tar.gz +# Source0-md5: c10d16db95275389d3361a8a023025d2 +URL: http://live.gnome.org/LibUnique +BuildRequires: autoconf >= 2.54 +BuildRequires: automake +BuildRequires: dbus-glib-devel >= 0.70 +BuildRequires: glib2-devel >= 1:2.12.0 +BuildRequires: gtk+2-devel >= 2:2.12.0 +BuildRequires: gtk-doc >= 1.6 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Unique is a library for writing single instance application. If you +launch a single instance application twice, the second instance will +either just quit or will send a message to the running instance. + +Unique makes it easy to write this kind of applications, by providing +a base class, taking care of all the IPC machinery needed to send +messages to a running instance. + +%description -l pl.UTF-8 +Unique jest biblioteką do pisania aplikacji o jednej instancji. Jeśli +taka aplikacja zostanie uruchomiona dwa razy, druga instancja po +prostu się zamknie lub wyśle wiadomość do już uruchomionej. + +Unique ułatwia pisanie tego typu aplikacji, poprzez zapewnienie +podstawowej klasy, biorąc przy tym pod uwagę wszystkie mechanizmy IPC +potrzebne do wysyłania wiadomości do już uruchomionych instancji. + +%package devel +Summary: Header files for unique library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki unique +Group: X11/Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: dbus-glib-devel >= 0.70 +Requires: gtk+2-devel >= 2:2.12.0 + +%description devel +Header files for unique library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki unique. + +%package static +Summary: Static unique library +Summary(pl.UTF-8): Statyczna biblioteka unique +Group: X11/Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static unique library. + +%description static -l pl.UTF-8 +Statyczna biblioteka unique. + +%package apidocs +Summary: unique library API documentation +Summary(pl.UTF-8): Dokumentacja API biblioteki unique +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +unique library API documentation. + +%description apidocs +Dokumentacja API biblioteki unique. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --with-html-dir=%{_gtkdocdir} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS README +%attr(755,root,root) %{_libdir}/libunique-1.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libunique-1.0.so.0 + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libunique-1.0.so +%{_libdir}/libunique-1.0.la +%{_includedir}/unique-1.0 +%{_pkgconfigdir}/unique-1.0.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/libunique-1.0.a + +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/unique + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-06-03 15:44:12 megabajt +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
