2024-01-06 04:39:49 +01:00
|
|
|
Name: libindicator
|
|
|
|
Version: 12.10.1
|
2024-01-06 04:39:49 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 04:39:49 +01:00
|
|
|
Summary: A set of symbols and convience functions that all indicators would like to use
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://launchpad.net/libindicator
|
|
|
|
Source: https://launchpad.net/libindicator/%{version}/+download/libindicator-%{version}.tar.gz
|
|
|
|
Patch0: libindicator-12.10.1-configure.patch
|
2024-01-06 04:39:49 +01:00
|
|
|
Patch1: libindicator-12.10.1-glib-2.70.1.patch
|
2024-01-06 04:39:49 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
2024-01-06 04:39:49 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 04:39:49 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
A set of symbols and convience functions that all indicators would like to use. Not of real use outside of the Ayatana indicators project.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
%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}.
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 04:39:49 +01:00
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
tar xf %{SOURCE0}
|
|
|
|
mv %{name}-%{version} build-gtk2
|
|
|
|
cd build-gtk2
|
2024-01-06 04:39:49 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 04:39:49 +01:00
|
|
|
%patch1 -p2
|
2024-01-06 04:39:49 +01:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cp -a build-gtk2 build-gtk3
|
2024-01-06 04:39:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:39:49 +01:00
|
|
|
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
|
|
|
|
|
|
|
cd build-gtk2
|
2024-01-06 04:39:49 +01:00
|
|
|
%configure --with-gtk=2 LIBM=" -lm"
|
|
|
|
%make
|
2024-01-06 04:39:49 +01:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd build-gtk3
|
|
|
|
%configure --with-gtk=3 LIBM=" -lm"
|
|
|
|
%make
|
|
|
|
cd ..
|
2024-01-06 04:39:49 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:39:49 +01:00
|
|
|
%makeinstall -C build-gtk2
|
|
|
|
|
|
|
|
%makeinstall -C build-gtk3
|
2024-01-06 04:39:49 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
%post -n %{name}3 -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}3 -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libindicator.so.*
|
|
|
|
%{_libexecdir}/indicator-loader
|
2024-01-06 04:39:49 +01:00
|
|
|
%doc build-gtk2/AUTHORS build-gtk2/COPYING
|
2024-01-06 04:39:49 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libindicator-0.4
|
|
|
|
%dir %{_includedir}/libindicator-0.4/libindicator
|
|
|
|
%{_includedir}/libindicator-0.4/libindicator/*
|
|
|
|
%{_libdir}/libdummy-indicator-*.a
|
|
|
|
%{_libdir}/libdummy-indicator-*.la
|
|
|
|
%{_libdir}/libdummy-indicator-*.so
|
|
|
|
%{_libdir}/libindicator.a
|
|
|
|
%{_libdir}/libindicator.la
|
|
|
|
%{_libdir}/libindicator.so
|
|
|
|
%{_libdir}/pkgconfig/indicator-0.4.pc
|
|
|
|
%{_datadir}/libindicator/80indicator-debugging
|
2024-01-06 04:39:49 +01:00
|
|
|
%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
|
2024-01-06 04:39:49 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:39:49 +01:00
|
|
|
* Mon Nov 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-3mamba
|
|
|
|
- added patch for glib 2.70
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
* Sat Jul 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-2mamba
|
|
|
|
- rebuilt with gtk3 subpackages
|
|
|
|
|
2024-01-06 04:39:49 +01:00
|
|
|
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.10.1-1mamba
|
|
|
|
- package created using the webbuild interface
|