Группа :: Графические оболочки/Прочее
Исходный пакет: lxde-common
Необработанный spec-файл
%define _unpackaged_files_terminate_build 1
%define theme_virt_dir lxde
%define theme_name upstream
#define theme_version 0.1
%define theme_fullname lxde-settings-%theme_name
Name: lxde-common
Version: 0.5.5
Release: alt0.M51.11
BuildArch: noarch
Summary: Basic infrastructure for LXDE.
License: gpl2plus
Group: Graphical desktop/Other
Url: http://lxde.sf.net
Packager: Nick S. Grechukh <gns at altlinux.ru>
BuildArch: noarch
Source: %name-%version.tar.bz2
Source1: lxde.wm
Patch1: startlxde-libfm.conf-alt.patch
AutoReq: yes,nosymlinks
Requires: lxde-settings
# Automatically added by buildreq on Wed May 05 2010
BuildRequires: docbook-dtds docbook-style-xsl xsltproc
BuildPreReq: rpm-build-licenses
%description
Pprovides infrastructure for LXDE components
%package -n %theme_fullname
#Version: theme_version
Summary: provides unmodified LXDE configuration from upstream
Group: Graphical desktop/Other
Provides: lxde-settings
### GRRRR!!! for appliance-desktop-lxde
Provides: lxde-default-theme
%description -n %theme_fullname
Default graphics theme for LXDE.
This package contains unmodified configuration from upstream.
%prep
%setup
sed -i 's,pcmanfm.conf,lxde.conf,g' startlxde.in
%patch1 -p 2
%build
%autoreconf
%configure --enable-man
%make_build
%install
%makeinstall_std
install -m644 -D %SOURCE1 %buildroot%_x11sysconfdir/wmsession.d/20LXDE
pushd %buildroot%_datadir
mv lxde %theme_fullname
mv %buildroot%_sysconfdir/xdg/lxsession/LXDE/desktop.conf %theme_fullname
ln -s %_datadir/%theme_virt_dir/desktop.conf %buildroot%_sysconfdir/xdg/lxsession/LXDE/desktop.conf
mkdir %theme_fullname/pcmanfm
mv %buildroot%_sysconfdir/xdg/pcmanfm/lxde.conf %theme_fullname/pcmanfm/
ln -s %_datadir/%theme_virt_dir/pcmanfm/lxde.conf %buildroot%_sysconfdir/xdg/pcmanfm/
mv lxpanel/profile/LXDE %theme_fullname/lxpanel
ln -s ../../%theme_virt_dir/lxpanel lxpanel/profile/LXDE
popd
mkdir -p %buildroot/etc/alternatives/packages.d/
cat > %buildroot/etc/alternatives/packages.d/%theme_fullname << __EOF__
%_datadir/%theme_virt_dir %_datadir/%theme_fullname 1
__EOF__
%find_lang %name
%pre
if [ -d %_datadir/lxpanel/profile/LXDE ] && [ ! -L %_datadir/lxpanel/profile/LXDE ] ; then
rm -fR %_datadir/lxpanel/profile/LXDE
fi
%files -f %name.lang
%doc ChangeLog INSTALL README
%_bindir/*
%_x11sysconfdir/wmsession.d/*
%_sysconfdir/xdg/lxsession/LXDE/autostart
%_datadir/xsessions/*.desktop
%_man1dir/*
### themeable
%_sysconfdir/xdg/lxsession/LXDE/desktop.conf
%_sysconfdir/xdg/pcmanfm/lxde.conf
%_datadir/lxpanel/profile/LXDE
%files -n %theme_fullname
%config /etc/alternatives/packages.d/%theme_fullname
%_datadir/%theme_fullname
#_iconsdir/nuoveXT2
%changelog
* Wed Dec 01 2010 Radik Usupov <radik at altlinux.org> 0.5.5-alt0.M51.11
- build from branch 5.1
* Wed Dec 01 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt10
- libfm.conf handling
* Thu Sep 02 2010 Radik Usupov <radik at altlinux.org> 0.5.5-alt9
- package is now noarch
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt8
- stupid error fixed
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt7.1
- spec cleanup
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt7
- package layout revisited to allow concurrent branding packages
* Tue May 04 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt1
- new upstream version
* Sun May 02 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt7
- graphical theme updated
* Mon Dec 28 2009 Nick S. Grechukh <gns at altlinux.ru> 0.5.0-alt5
- default configs updated
* Tue Dec 22 2009 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt4
- icon-theme in separated tarball
* Sun Dec 13 2009 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt2
- fixed lxsession crash while trying to autorun
* Sat Dec 12 2009 Nick S. Grechukh <gns at altlinux.ru> 0.5.0-alt1
- new version
* Fri Jul 24 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt3
- openbox / lxpanel configs fixed
* Wed May 20 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt2
- Packager fixed
* Tue May 19 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt1
- new version
* Fri Jan 09 2009 Eugene Ostapets <eostapets at altlinux.ru> 0.3.2.1-alt2
- Change default terminal emulator to lxde-lxterminal
- remove obsoletes %%update_menu and %%update_wms macros
* Fri Jul 18 2008 Eugene Ostapets <eostapets at altlinux.ru> 0.3.2.1-alt1
- First version of RPM package for Sisyphus.
%define _unpackaged_files_terminate_build 1
%define theme_virt_dir lxde
%define theme_name upstream
#define theme_version 0.1
%define theme_fullname lxde-settings-%theme_name
Name: lxde-common
Version: 0.5.5
Release: alt0.M51.11
BuildArch: noarch
Summary: Basic infrastructure for LXDE.
License: gpl2plus
Group: Graphical desktop/Other
Url: http://lxde.sf.net
Packager: Nick S. Grechukh <gns at altlinux.ru>
BuildArch: noarch
Source: %name-%version.tar.bz2
Source1: lxde.wm
Patch1: startlxde-libfm.conf-alt.patch
AutoReq: yes,nosymlinks
Requires: lxde-settings
# Automatically added by buildreq on Wed May 05 2010
BuildRequires: docbook-dtds docbook-style-xsl xsltproc
BuildPreReq: rpm-build-licenses
%description
Pprovides infrastructure for LXDE components
%package -n %theme_fullname
#Version: theme_version
Summary: provides unmodified LXDE configuration from upstream
Group: Graphical desktop/Other
Provides: lxde-settings
### GRRRR!!! for appliance-desktop-lxde
Provides: lxde-default-theme
%description -n %theme_fullname
Default graphics theme for LXDE.
This package contains unmodified configuration from upstream.
%prep
%setup
sed -i 's,pcmanfm.conf,lxde.conf,g' startlxde.in
%patch1 -p 2
%build
%autoreconf
%configure --enable-man
%make_build
%install
%makeinstall_std
install -m644 -D %SOURCE1 %buildroot%_x11sysconfdir/wmsession.d/20LXDE
pushd %buildroot%_datadir
mv lxde %theme_fullname
mv %buildroot%_sysconfdir/xdg/lxsession/LXDE/desktop.conf %theme_fullname
ln -s %_datadir/%theme_virt_dir/desktop.conf %buildroot%_sysconfdir/xdg/lxsession/LXDE/desktop.conf
mkdir %theme_fullname/pcmanfm
mv %buildroot%_sysconfdir/xdg/pcmanfm/lxde.conf %theme_fullname/pcmanfm/
ln -s %_datadir/%theme_virt_dir/pcmanfm/lxde.conf %buildroot%_sysconfdir/xdg/pcmanfm/
mv lxpanel/profile/LXDE %theme_fullname/lxpanel
ln -s ../../%theme_virt_dir/lxpanel lxpanel/profile/LXDE
popd
mkdir -p %buildroot/etc/alternatives/packages.d/
cat > %buildroot/etc/alternatives/packages.d/%theme_fullname << __EOF__
%_datadir/%theme_virt_dir %_datadir/%theme_fullname 1
__EOF__
%find_lang %name
%pre
if [ -d %_datadir/lxpanel/profile/LXDE ] && [ ! -L %_datadir/lxpanel/profile/LXDE ] ; then
rm -fR %_datadir/lxpanel/profile/LXDE
fi
%files -f %name.lang
%doc ChangeLog INSTALL README
%_bindir/*
%_x11sysconfdir/wmsession.d/*
%_sysconfdir/xdg/lxsession/LXDE/autostart
%_datadir/xsessions/*.desktop
%_man1dir/*
### themeable
%_sysconfdir/xdg/lxsession/LXDE/desktop.conf
%_sysconfdir/xdg/pcmanfm/lxde.conf
%_datadir/lxpanel/profile/LXDE
%files -n %theme_fullname
%config /etc/alternatives/packages.d/%theme_fullname
%_datadir/%theme_fullname
#_iconsdir/nuoveXT2
%changelog
* Wed Dec 01 2010 Radik Usupov <radik at altlinux.org> 0.5.5-alt0.M51.11
- build from branch 5.1
* Wed Dec 01 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt10
- libfm.conf handling
* Thu Sep 02 2010 Radik Usupov <radik at altlinux.org> 0.5.5-alt9
- package is now noarch
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt8
- stupid error fixed
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt7.1
- spec cleanup
* Wed May 05 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt7
- package layout revisited to allow concurrent branding packages
* Tue May 04 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.5-alt1
- new upstream version
* Sun May 02 2010 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt7
- graphical theme updated
* Mon Dec 28 2009 Nick S. Grechukh <gns at altlinux.ru> 0.5.0-alt5
- default configs updated
* Tue Dec 22 2009 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt4
- icon-theme in separated tarball
* Sun Dec 13 2009 Mykola Grechukh <gns at altlinux.ru> 0.5.0-alt2
- fixed lxsession crash while trying to autorun
* Sat Dec 12 2009 Nick S. Grechukh <gns at altlinux.ru> 0.5.0-alt1
- new version
* Fri Jul 24 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt3
- openbox / lxpanel configs fixed
* Wed May 20 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt2
- Packager fixed
* Tue May 19 2009 Nick S. Grechukh <gns at altlinux.org> 0.4.1-alt1
- new version
* Fri Jan 09 2009 Eugene Ostapets <eostapets at altlinux.ru> 0.3.2.1-alt2
- Change default terminal emulator to lxde-lxterminal
- remove obsoletes %%update_menu and %%update_wms macros
* Fri Jul 18 2008 Eugene Ostapets <eostapets at altlinux.ru> 0.3.2.1-alt1
- First version of RPM package for Sisyphus.