cinnamon-desktop/cinnamon-desktop.spec

140 lines
4.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: cinnamon-desktop
Version: 2.2.3
Release: 1mamba
Summary: Contains the libcinnamon-desktop library, the cinnamon-about program as well as some desktop-wide documents
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/linuxmint/cinnamon-desktop
## GITSOURCE https://github.com/linuxmint/cinnamon-desktop.git 2.0.1
Source: https://github.com/linuxmint/cinnamon-desktop.git/%{version}/cinnamon-desktop-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libxkbfile-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about program as well as some desktop-wide documents.
The libcinnamon-desktop library provides API shared by several applications on the desktop, but that cannot live in the platform for various reasons. There is no API or ABI guarantee, although we are doing our best to provide stability. Documentation for the API is available with gtk-doc.
%package -n lib%{name}
Group: System/Libraries
Summary: Provides API shared by several applications on the Cinnamon desktop
%description -n lib%{name}
cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about program as well as some desktop-wide documents.
The libcinnamon-desktop library provides API shared by several applications on the desktop, but that cannot live in the platform for various reasons. There is no API or ABI guarantee, although we are doing our best to provide stability. Documentation for the API is available with gtk-doc.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
if [ $1 -ge 1 ]; then
/sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas
fi
:
%postun -n lib%{name}
if [ $1 -eq 0 ]; then
/sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas
fi
:
%files -n lib%{name} -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libcinnamon-desktop.so.*
%{_libdir}/girepository-1.0/CDesktopEnums-*.typelib
%{_libdir}/girepository-1.0/CinnamonDesktop-*.typelib
%{_libexecdir}/cinnamon-rr-debug
%{_datadir}/glib-2.0/schemas/org.cinnamon.desktop.*.xml
#%{_datadir}/glib-2.0/schemas/org.cinnamon.system.locale.gschema.xml
%dir %{_datadir}/libcinnamon-desktop
%{_datadir}/libcinnamon-desktop/pnp.ids
%doc AUTHORS COPYING COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/cinnamon-desktop/libcinnamon-desktop
%{_includedir}/cinnamon-desktop/libcinnamon-desktop/*.h
%{_libdir}/libcinnamon-desktop.la
%{_libdir}/libcinnamon-desktop.so
%{_libdir}/pkgconfig/cinnamon-desktop.pc
%{_datadir}/gir-1.0/CDesktopEnums-3.0.gir
%{_datadir}/gir-1.0/CinnamonDesktop-3.0.gir
%doc ChangeLog README
%changelog
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic version update by autodist
* Mon May 12 2014 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Sun May 04 2014 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Wed Oct 09 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
- package created by silvan using the webbuild interface