[packages/cinnamon-control-center] - new, partially based on Fedora

qboosh qboosh at pld-linux.org
Mon May 11 19:52:25 CEST 2020


commit 848d9624068a664b4a857b6b2ac3de98d71316fb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 11 19:52:42 2020 +0200

    - new, partially based on Fedora

 cinnamon-control-center.spec | 191 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 191 insertions(+)
---
diff --git a/cinnamon-control-center.spec b/cinnamon-control-center.spec
new file mode 100644
index 0000000..1168cc5
--- /dev/null
+++ b/cinnamon-control-center.spec
@@ -0,0 +1,191 @@
+%define	cinnamon_desktop_ver	4.4.0
+%define	csd_ver			4.4.0
+%define	cinnamon_menus_ver	4.4.0
+
+Summary:	Utilities to configure the Cinnamon desktop
+Summary(pl.UTF-8):	Narzędzia do konfiguracji środowiska Cinnamon
+Name:		cinnamon-control-center
+Version:	4.4.0
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications
+#Source0Download: https://github.com/linuxmint/cinnamon-control-center/releases
+Source0:	https://github.com/linuxmint/cinnamon-control-center/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	83b0fb04ec865db2852502fbc03ff1fd
+URL:		https://github.com/linuxmint/cinnamon-control-center
+BuildRequires:	ModemManager-devel >= 0.7
+BuildRequires:	NetworkManager-devel >= 2:1.2.0
+BuildRequires:	NetworkManager-gtk-lib-devel >= 1.8.0
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	cinnamon-desktop-devel >= %{cinnamon_desktop_ver}
+BuildRequires:	cinnamon-menus-devel >= %{cinnamon_menus_ver}
+BuildRequires:	cinnamon-settings-daemon-devel >= %{csd_ver}
+BuildRequires:	colord-devel >= 0.1.14
+BuildRequires:	cups-devel >= 1.4
+BuildRequires:	dbus-glib-devel
+BuildRequires:	fontconfig-devel
+BuildRequires:	gdk-pixbuf2-devel >= 2.23.0
+BuildRequires:	gettext-tools
+BuildRequires:	glib2-devel >= 1:2.31.0
+BuildRequires:	gnome-online-accounts-devel >= 3.21.5
+BuildRequires:	gtk+3-devel >= 3.8.0
+BuildRequires:	intltool >= 0.40.1
+BuildRequires:	iso-codes
+BuildRequires:	libgnomekbd-devel >= 3.0
+BuildRequires:	libnotify-devel >= 0.7.3
+BuildRequires:	libtool >= 2:2.2
+BuildRequires:	libwacom-devel >= 0.27
+BuildRequires:	libxklavier-devel >= 5.1
+BuildRequires:	libxml2-devel >= 2.0
+BuildRequires:	libxslt-progs
+BuildRequires:	polkit-devel >= 0.103
+BuildRequires:	systemd-devel
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXi-devel >= 1.2
+BuildRequires:	xorg-lib-libXxf86misc-devel
+BuildRequires:	xorg-lib-libxkbfile-devel
+BuildRequires:	xorg-proto-kbproto-devel
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	NetworkManager >= 2:1.8.0
+# nm-connection-editor for the network panel
+Requires:	NetworkManager-applet >= 1.8.0
+Requires:	cinnamon-desktop >= %{cinnamon_desktop_ver}
+Requires:	cinnamon-menus >= %{cinnamon_menus_ver}
+Requires:	cinnamon-settings-daemon >= %{csd_ver}
+#Requires:	cinnamon-translations
+Requires:	colord >= 0.1.14
+Requires:	cups-lib >= 1.4
+Requires:	dbus-x11
+Requires:	gdk-pixbuf2 >= 2.23.0
+# For the colour panel
+Requires:	gnome-color-manager
+Requires:	hicolor-icon-theme
+Requires:	iso-codes
+Requires:	libgnomekbd >= 3.0
+Requires:	libnotify >= 0.7.3
+Requires:	libwacom >= 0.27
+Requires:	libxklavier >= 5.1
+Requires:	polkit >= 0.103
+Requires:	xorg-lib-libXi >= 1.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains configuration utilities for the Cinnamon
+desktop, which allow to configure accessibility options, desktop
+fonts, keyboard and mouse properties, sound setup, desktop theme and
+background, user interface properties, screen resolution, and other
+settings.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera narzędzia konfiguracyjne dla środowiska graficznego
+Cinnamon, pozwalające konfigurować opcje dostępności, fonty,
+właściwości klawiatury i myszy, dźwięki, motywy pulpitu i tła,
+ustawienia interfejsu użytkownika, rozdzielczość ekranu i inne.
+
+%package libs
+Summary:	Cinnamon control center shared library
+Summary(pl.UTF-8):	Pakiet programistyczny Cinnamon control center
+Group:		Libraries
+Requires:	glib2 >= 1:2.31.0
+Requires:	gtk+3 >= 3.8.0
+
+%description libs
+Cinnamon control center shared library.
+
+%description libs -l pl.UTF-8
+Pakiet programistyczny Cinnamon control center.
+
+%package devel
+Summary:	Development package for Cinnamon control center
+Summary(pl.UTF-8):	Pakiet programistyczny Cinnamon control center
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.31.0
+Requires:	gtk+3-devel >= 3.8.0
+
+%description devel
+Header files for Cinnamon control center.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe Cinnamon control center.
+
+%prep
+%setup -q
+
+%build
+install -d m4
+%{__glib_gettextize}
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules \
+	--disable-static \
+	--enable-cups \
+	--enable-onlineaccounts \
+	--enable-systemd
+
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcinnamon-control-center.la \
+	$RPM_BUILD_ROOT%{_libdir}/cinnamon-control-center-1/panels/*.la
+
+%find_lang %{name}-timezones
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
+%files -f %{name}-timezones.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README README.md
+%attr(755,root,root) %{_bindir}/cinnamon-control-center
+%dir %{_libdir}/cinnamon-control-center-1
+%dir %{_libdir}/cinnamon-control-center-1/panels
+%{_libdir}/cinnamon-control-center-1/panels/libcolor.so
+%{_libdir}/cinnamon-control-center-1/panels/libdate_time.so
+%{_libdir}/cinnamon-control-center-1/panels/libdisplay.so
+%{_libdir}/cinnamon-control-center-1/panels/libnetwork.so
+%{_libdir}/cinnamon-control-center-1/panels/libonline-accounts.so
+%{_libdir}/cinnamon-control-center-1/panels/libregion.so
+%{_libdir}/cinnamon-control-center-1/panels/libwacom-properties.so
+%config(noreplace) %{_sysconfdir}/xdg/menus/cinnamoncc.menu
+%dir %{_datadir}/cinnamon-control-center
+%{_datadir}/cinnamon-control-center/datetime
+%{_datadir}/cinnamon-control-center/ui
+%{_datadir}/desktop-directories/cinnamoncc.directory
+%{_datadir}/polkit-1/actions/org.cinnamon.controlcenter.datetime.policy
+%{_datadir}/polkit-1/rules.d/cinnamon-control-center.rules
+%{_desktopdir}/cinnamon-control-center.desktop
+%{_desktopdir}/cinnamon-color-panel.desktop
+%{_desktopdir}/cinnamon-display-panel.desktop
+%{_desktopdir}/cinnamon-network-panel.desktop
+%{_desktopdir}/cinnamon-region-panel.desktop
+%{_desktopdir}/cinnamon-wacom-panel.desktop
+%{_iconsdir}/hicolor/*x*/apps/cinnamon-preferences-*.png
+%{_iconsdir}/hicolor/*x*/apps/cs-online-accounts.png
+%{_iconsdir}/hicolor/scalable/apps/cinnamon-preferences-*.svg
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcinnamon-control-center.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcinnamon-control-center.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcinnamon-control-center.so
+%{_includedir}/cinnamon-control-center-1
+%{_pkgconfigdir}/libcinnamon-control-center.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cinnamon-control-center.git/commitdiff/848d9624068a664b4a857b6b2ac3de98d71316fb



More information about the pld-cvs-commit mailing list