|
@@ -1,7 +1,7 @@
|
|
Name: libdbusmenu
|
|
Name: libdbusmenu
|
|
Summary: Library that pulling out some code out of indicator-applet
|
|
Summary: Library that pulling out some code out of indicator-applet
|
|
Version: 12.10.2
|
|
Version: 12.10.2
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
# All files installed in final rpms use C sources with dual licensing headers.
|
|
# All files installed in final rpms use C sources with dual licensing headers.
|
|
# Tests compiled in the build process are licensed GPLv3
|
|
# Tests compiled in the build process are licensed GPLv3
|
|
@@ -18,7 +18,7 @@ BuildRequires: glib2-devel
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gnome-doc-utils
|
|
BuildRequires: gnome-doc-utils
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
-BuildRequires: gtk2-devel
|
|
+BuildRequires: gtk3-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: intltool
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: perl-XML-Parser
|
|
@@ -63,7 +63,7 @@ Summary(ja): dbusmenu-gtk の開発用ファイル
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
-Requires: gtk2-devel
|
|
+Requires: gtk3-devel
|
|
Requires: dbus-glib-devel
|
|
Requires: dbus-glib-devel
|
|
Obsoletes: dbusmenu-gtk-devel < %{version}-%{release}
|
|
Obsoletes: dbusmenu-gtk-devel < %{version}-%{release}
|
|
Provides: dbusmenu-gtk-devel = %{version}-%{release}
|
|
Provides: dbusmenu-gtk-devel = %{version}-%{release}
|
|
@@ -120,7 +120,7 @@ export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
--disable-static \
|
|
--disable-static \
|
|
--disable-scrollkeeper \
|
|
--disable-scrollkeeper \
|
|
--enable-silent-rules \
|
|
--enable-silent-rules \
|
|
- --with-gtk=2 \
|
|
+ --with-gtk=3 \
|
|
--disable-dumper
|
|
--disable-dumper
|
|
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
@@ -131,7 +131,7 @@ make %{?_smp_mflags} V=1
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libdbusmenu-gtk.so.4.0.12
|
|
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libdbusmenu-gtk3.so.4.0.12
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libdbusmenu-jsonloader.so.4.0.12
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libdbusmenu-jsonloader.so.4.0.12
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbusmenu-testapp
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/dbusmenu-testapp
|
|
|
|
|
|
@@ -178,18 +178,18 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files gtk
|
|
%files gtk
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_libdir}/libdbusmenu-gtk.so.*
|
|
+%{_libdir}/libdbusmenu-gtk3.so.*
|
|
-%{_libdir}/girepository-1.0/DbusmenuGtk-0.4.typelib
|
|
+%{_libdir}/girepository-1.0/DbusmenuGtk3-0.4.typelib
|
|
|
|
|
|
%files gtk-devel
|
|
%files gtk-devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%dir %{_includedir}/libdbusmenu-gtk-0.4
|
|
+%dir %{_includedir}/libdbusmenu-gtk3-0.4
|
|
-%dir %{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk
|
|
+%dir %{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk
|
|
-%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/*.h
|
|
+%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/*.h
|
|
-%{_libdir}/libdbusmenu-gtk.so
|
|
+%{_libdir}/libdbusmenu-gtk3.so
|
|
-%{_libdir}/pkgconfig/dbusmenu-gtk-0.4.pc
|
|
+%{_libdir}/pkgconfig/dbusmenu-gtk3-0.4.pc
|
|
-%{_datadir}/gir-1.0/DbusmenuGtk-0.4.gir
|
|
+%{_datadir}/gir-1.0/DbusmenuGtk3-0.4.gir
|
|
-%{_datadir}/vala/vapi/DbusmenuGtk-0.4.vapi
|
|
+%{_datadir}/vala/vapi/DbusmenuGtk3-0.4.vapi
|
|
|
|
|
|
%files jsonloader
|
|
%files jsonloader
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -215,6 +215,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_datadir}/libdbusmenu/json/test-gtk-label.json
|
|
%{_datadir}/libdbusmenu/json/test-gtk-label.json
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 12.10.2-2
|
|
|
|
+- build with GTK3
|
|
|
|
+
|
|
* Mon Nov 3 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 12.10.2-1
|
|
* Mon Nov 3 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 12.10.2-1
|
|
- updated to 12.10.2
|
|
- updated to 12.10.2
|
|
- renamed to libdbusmenu
|
|
- renamed to libdbusmenu
|