rebuilt with gtk3 subpackages [release 12.10.1-2mamba;Sat Jul 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 04:39:49 +01:00
parent 9201bf9e83
commit 9c9c339a31

View File

@ -1,6 +1,6 @@
Name: libindicator Name: libindicator
Version: 12.10.1 Version: 12.10.1
Release: 1mamba Release: 2mamba
Summary: A set of symbols and convience functions that all indicators would like to use Summary: A set of symbols and convience functions that all indicators would like to use
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -19,6 +19,7 @@ BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -36,20 +37,55 @@ Requires: pkg-config
%description devel %description devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%package -n %{name}3
Group: System/Libraries
Summary: A set of symbols and convience functions that all indicators would like to use (gtk3)
%description -n %{name}3
A set of symbols and convience functions that all indicators would like to use. Not of real use outside of the Ayatana indicators project.
Gtk3 libraries package.
%package -n %{name}3-devel
Group: Development/Libraries
Summary: Development files for %{name} (gtk3)
Requires: %{name}3 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n %{name}3-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q -c
tar xf %{SOURCE0}
mv %{name}-%{version} build-gtk2
cd build-gtk2
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
cd ..
cp -a build-gtk2 build-gtk3
%build %build
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
cd build-gtk2
%configure --with-gtk=2 LIBM=" -lm" %configure --with-gtk=2 LIBM=" -lm"
%make %make
cd ..
cd build-gtk3
%configure --with-gtk=3 LIBM=" -lm"
%make
cd ..
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C build-gtk2
%makeinstall -C build-gtk3
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -57,11 +93,14 @@ This package contains libraries and header files for developing applications tha
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post -n %{name}3 -p /sbin/ldconfig
%postun -n %{name}3 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libindicator.so.* %{_libdir}/libindicator.so.*
%{_libexecdir}/indicator-loader %{_libexecdir}/indicator-loader
%doc AUTHORS COPYING %doc build-gtk2/AUTHORS build-gtk2/COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -76,8 +115,28 @@ This package contains libraries and header files for developing applications tha
%{_libdir}/libindicator.so %{_libdir}/libindicator.so
%{_libdir}/pkgconfig/indicator-0.4.pc %{_libdir}/pkgconfig/indicator-0.4.pc
%{_datadir}/libindicator/80indicator-debugging %{_datadir}/libindicator/80indicator-debugging
%doc ChangeLog NEWS %doc build-gtk2/ChangeLog build-gtk2/NEWS
%files -n %{name}3
%defattr(-,root,root)
%{_libdir}/libindicator3.so.*
%{_libexecdir}/indicator-loader3
%doc build-gtk3/AUTHORS build-gtk3/COPYING
%files -n %{name}3-devel
%defattr(-,root,root)
%dir %{_includedir}/libindicator3-0.4
%dir %{_includedir}/libindicator3-0.4/libindicator
%{_includedir}/libindicator3-0.4/libindicator/*
%{_libdir}/libindicator3.a
%{_libdir}/libindicator3.la
%{_libdir}/libindicator3.so
%{_libdir}/pkgconfig/indicator3-0.4.pc
%doc build-gtk3/ChangeLog build-gtk3/NEWS
%changelog %changelog
* Sat Jul 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-2mamba
- rebuilt with gtk3 subpackages
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-1mamba * Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-1mamba
- package created using the webbuild interface - package created using the webbuild interface