Name: vnc-server-common Version: 1.0 Release: %mkrel 3 License: GPLv2+ URL: http://www.%_vendor.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Source0: vncserver-initscript Source1: sysconfig-vncservers Summary: Common files for VNC servers Group: Networking/Remote access Requires(post): rpm-helper Requires(preun): rpm-helper # Packages that used to provide the common files: # Can't conflict with vnc-server since it is provided as a virtual package... #Conflicts: vnc-server <= 4.1.2-2mdv2008.1 Conflicts: tightvnc-server <= 1.3.10-4mdv2011.0 Conflicts: tigervnc-server <= 1.0.90-0.201012034210.3mdv2011.0 %description This package contains files that are common between multiple VNC server implementations: - the vncserver initscript - the vncservers configuration file %prep %build %install rm -rf %{buildroot} install -D -m 644 %{_sourcedir}/sysconfig-vncservers \ %{buildroot}/%{_sysconfdir}/sysconfig/vncservers install -D -m 755 %{_sourcedir}/vncserver-initscript \ %{buildroot}/%{_initrddir}/vncserver %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_initrddir}/vncserver %config(noreplace) %{_sysconfdir}/sysconfig/vncservers %post %_post_service vncserver %preun %_preun_service vncserver %changelog * Mon Jan 14 2013 umeabot <umeabot> 1.0-3.mga3 + Revision: 385453 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Mar 06 2011 dmorgan <dmorgan> 1.0-2.mga1 + Revision: 65181 - Fix URL - imported package vnc-server-common