|
@@ -1,28 +1,28 @@
|
|
Name: libindicate
|
|
Name: libindicate
|
|
Summary: A small library for applications to raise "flags" on DBus
|
|
Summary: A small library for applications to raise "flags" on DBus
|
|
-Version: 0.4.4
|
|
+Version: 12.10.1
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
URL: https://launchpad.net/libindicate
|
|
URL: https://launchpad.net/libindicate
|
|
|
|
|
|
-Source0: http://launchpad.net/%{name}/0.4/%{versioin}/+download/%{name}-%{version}.tar.gz
|
|
+Source0: https://launchpad.net/%{name}/12.10/%{version}/+download/%{name}-%{version}.tar.gz
|
|
-
|
|
|
|
-Patch0: libindicate-0.4.4-disable-build-of-tests-examples.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: pkgconfig
|
|
|
|
-BuildRequires: glib2-devel >= 2.18.0
|
|
|
|
-#BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: dbus-glib-devel >= 0.76
|
|
BuildRequires: dbus-glib-devel >= 0.76
|
|
-BuildRequires: dbusmenu-glib-devel
|
|
+BuildRequires: glib2-devel >= 2.18.0
|
|
-BuildRequires: gtk-sharp2
|
|
+BuildRequires: gnome-doc-utils >= 0.3.2
|
|
|
|
+BuildRequires: gobject-introspection-devel >= 0.6.7
|
|
|
|
+BuildRequires: gtk-sharp2-devel
|
|
BuildRequires: gtk-sharp2-gapi
|
|
BuildRequires: gtk-sharp2-gapi
|
|
|
|
+BuildRequires: libdbusmenu-devel >= 0.3.97
|
|
|
|
+BuildRequires: pkgconfig
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: pygtk2-devel
|
|
BuildRequires: pygtk2-devel
|
|
BuildRequires: mono-devel
|
|
BuildRequires: mono-devel
|
|
-BuildRequires: gnome-doc-utils >= 0.3.2
|
|
+BuildRequires: vala-devel
|
|
|
|
+BuildRequires: vala-tools
|
|
|
|
|
|
%define mono_dir %{_prefix}/lib/mono
|
|
%define mono_dir %{_prefix}/lib/mono
|
|
|
|
|
|
@@ -34,7 +34,7 @@ Currently used by the messaging indicator.
|
|
%package devel
|
|
%package devel
|
|
Summary: Developer files for %{name}
|
|
Summary: Developer files for %{name}
|
|
Summary(ja): %{name} の開発用ファイル
|
|
Summary(ja): %{name} の開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
@@ -42,7 +42,8 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%package gtk
|
|
%package gtk
|
|
Summary: GTK+ bindings for %{name}
|
|
Summary: GTK+ bindings for %{name}
|
|
-Group: System Environment/Libraries
|
|
+Summary(ja): %{name} の GTK+ バインディング
|
|
|
|
+Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description gtk
|
|
%description gtk
|
|
@@ -51,7 +52,7 @@ Requires: %{name} = %{version}-%{release}
|
|
%package gtk-devel
|
|
%package gtk-devel
|
|
Summary: Developer files for libindicate-gtk
|
|
Summary: Developer files for libindicate-gtk
|
|
Summary(ja): libindicate-gtk の開発用ファイル
|
|
Summary(ja): libindicate-gtk の開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: Development/Libraries
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
|
|
|
|
%description gtk-devel
|
|
%description gtk-devel
|
|
@@ -59,7 +60,8 @@ Requires: %{name}-gtk = %{version}-%{release}
|
|
|
|
|
|
%package -n python-indicate
|
|
%package -n python-indicate
|
|
Summary: Python bindings for %{name}
|
|
Summary: Python bindings for %{name}
|
|
-Group: Development/Libraries
|
|
+Summary(ja): %{name} の Python バインディング
|
|
|
|
+Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pygtk2
|
|
Requires: pygtk2
|
|
Provides: %{name}-python = %{version}-%{release}
|
|
Provides: %{name}-python = %{version}-%{release}
|
|
@@ -69,27 +71,41 @@ Provides: %{name}-python = %{version}-%{release}
|
|
|
|
|
|
%package sharp
|
|
%package sharp
|
|
Summary: C# bindings for %{name}
|
|
Summary: C# bindings for %{name}
|
|
-Group: System Environment/Libraries
|
|
+Summary(ja): %{name} の C# バインディング
|
|
|
|
+Group: System Environment/Libraries
|
|
#Requires: %{name} = %{version}-%{release}
|
|
#Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description sharp
|
|
%description sharp
|
|
%{summary}.
|
|
%{summary}.
|
|
|
|
|
|
|
|
+%package doc
|
|
|
|
+Summary: Document files for %{name}
|
|
|
|
+Summary(ja): %{name} のドキュメント
|
|
|
|
+BuildArch: noarch
|
|
|
|
+Group: Documentation
|
|
|
|
+
|
|
|
|
+%description doc
|
|
|
|
+The %{name}-doc package contains documents for
|
|
|
|
+developing applications that use %{name}.
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1 -b .disable_build
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
%configure \
|
|
%configure \
|
|
--disable-static \
|
|
--disable-static \
|
|
|
|
+ --disable-scrollkeeper \
|
|
|
|
+ --disable-tests \
|
|
--enable-silent-rules \
|
|
--enable-silent-rules \
|
|
- --enable-introspection=no \
|
|
+ --with-gtk=2
|
|
- --enable-gtk-doc-html
|
|
|
|
|
|
|
|
-sed -i -e "s|-lpyglib-2\.0-python2\.6|-lpyglib-2\.0-python|" \
|
|
+sed -i -e "s|-lpyglib-2\.0-python2\.7|-lpyglib-2\.0-python|" \
|
|
bindings/python/Makefile
|
|
bindings/python/Makefile
|
|
|
|
|
|
-make %{?_smp_mflags}
|
|
+# parallel build fails
|
|
|
|
+make
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -116,27 +132,31 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc AUTHORS ChangeLog COPYING
|
|
+%doc AUTHORS COPYING COPYING.LGPL.2.1 NEWS
|
|
-%doc _docs/*
|
|
|
|
%{_libdir}/libindicate.so.*
|
|
%{_libdir}/libindicate.so.*
|
|
|
|
+%{_libdir}/girepository-1.0/Indicate-0.7.typelib
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_includedir}/libindicate-0.2/libindicate
|
|
+%{_includedir}/libindicate-0.7/libindicate
|
|
%{_libdir}/libindicate.so
|
|
%{_libdir}/libindicate.so
|
|
-%{_libdir}/pkgconfig/indicate.pc
|
|
+%{_libdir}/pkgconfig/indicate-0.7.pc
|
|
|
|
+%{_datadir}/gir-1.0/Indicate-0.7.gir
|
|
%{_datadir}/gtk-doc/html/libindicate
|
|
%{_datadir}/gtk-doc/html/libindicate
|
|
|
|
+%{_datadir}/vala/vapi/Indicate-0.7.vapi
|
|
|
|
|
|
%files gtk
|
|
%files gtk
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/libindicate-gtk.so.*
|
|
%{_libdir}/libindicate-gtk.so.*
|
|
|
|
+%{_libdir}/girepository-1.0/IndicateGtk-0.7.typelib
|
|
|
|
|
|
%files gtk-devel
|
|
%files gtk-devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_includedir}/libindicate-0.2/libindicate-gtk
|
|
+%{_includedir}/libindicate-gtk-0.7/libindicate-gtk
|
|
%{_libdir}/libindicate-gtk.so
|
|
%{_libdir}/libindicate-gtk.so
|
|
-%{_libdir}/pkgconfig/indicate-gtk.pc
|
|
+%{_libdir}/pkgconfig/indicate-gtk-0.7.pc
|
|
-%{_datadir}/gtk-doc/html/libindicate
|
|
+%{_datadir}/gir-1.0/IndicateGtk-0.7.gir
|
|
|
|
+%{_datadir}/vala/vapi/IndicateGtk-0.7.vapi
|
|
|
|
|
|
%files -n python-indicate
|
|
%files -n python-indicate
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -153,7 +173,18 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{mono_dir}/indicate
|
|
%{mono_dir}/indicate
|
|
%{_libdir}/pkgconfig/indicate*sharp-0.1.pc
|
|
%{_libdir}/pkgconfig/indicate*sharp-0.1.pc
|
|
|
|
|
|
|
|
+%files doc
|
|
|
|
+%doc AUTHORS COPYING COPYING.LGPL.2.1 NEWS
|
|
|
|
+%dir %{_datadir}/gtk-doc/html/libindicate
|
|
|
|
+%{_datadir}/gtk-doc/html/libindicate/*
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Nov 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 12.10.1-1
|
|
|
|
+- updated to 12.10.1
|
|
|
|
+- dropt Patch0
|
|
|
|
+- split doc subpackage
|
|
|
|
+
|
|
* Sun Feb 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-2
|
|
* Sun Feb 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.4-2
|
|
- add BuildRequires: mono-devel
|
|
- add BuildRequires: mono-devel
|
|
- add Patch0 (libindicate-0.4.4-disable-build-of-tests-examples.patch)
|
|
- add Patch0 (libindicate-0.4.4-disable-build-of-tests-examples.patch)
|