Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aakash_goyal
easy-ltsp
easy-ltsp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File easy-ltsp.spec of Package easy-ltsp
# # spec file for package easy-ltsp # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: easy-ltsp Summary: GUI to setup and manage LTSP License: GPL v2 or later Group: System/GUI Url: http://developer.novell.com/wiki/index.php/Easy-LTSP Version: 0.1 Release: 1 Requires: mono xdg-utils %if 0%{?suse_version} Requires: kiwi-desc-ltsp BuildRequires: update-desktop-files glade-sharp2 %else BuildRequires: gtk-sharp2-devel %endif BuildRequires: mono-devel Source0: %name-%version.tar.bz2 Source1: %name.desktop Source2: %name.png Source3: easy-ltsp.conf Source4: HelpFiles.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GUI to setup and manage LTSP. It gives you the possibility to manage your server and thin clients. Change the configuration with an easy to use GUI. It offers a nice and easy way to port your current configuration to another server Author: ------- Jan Weber <jan@luckylemon.de> %package devel License: GPL v2 or later Summary: development files for easy-ltsp Requires: mono-devel %name = %version Group: System/GUI %description devel Development files for Easy-LTSP - GUI tool for LTSP Author: ------- Jan Weber <jan@luckylemon.de> %prep %setup -q %build %if 0%{?suse_version} ./configure --prefix=/usr --with-kiwi %else ./configure %endif %__make %install mkdir -p %buildroot%{_prefix}/lib/%name %buildroot%_bindir mkdir -p %buildroot%{_prefix}/share/doc/packages/%name %buildroot%_bindir tar -xjf %_sourcedir/HelpFiles.tar.bz2 -C %_sourcedir/ install -m644 %_sourcedir/HelpFiles/* %buildroot%{_prefix}/share/doc/packages/%name/ # install configuration install -Dm644 %_sourcedir/easy-ltsp.conf %buildroot%{_sysconfdir}/easy-ltsp/easy-ltsp.conf touch %buildroot%{_sysconfdir}/easy-ltsp/easy-ltsp.xml touch %buildroot%{_sysconfdir}/easy-ltsp/aoeimagemap.xml make DESTDIR=%buildroot install mkdir -p %buildroot/%{_datadir}/applications mkdir -p %buildroot/%{_datadir}/pixmaps install -m644 %_sourcedir/%{name}.desktop %buildroot/%{_datadir}/applications/%{name}.desktop install -m644 %_sourcedir/%{name}.png %buildroot/%{_datadir}/pixmaps/%{name}.png #install -m777 %buildroot/usr/lib/easy-ltsp chmod +x %buildroot/%_bindir/* # adapt the config for the new places... %if 0%{?suse_version} sed -i 's|lts_conf=.*|lts_conf=/srv/tftpboot/KIWI/lts.conf|g' %buildroot%{_sysconfdir}/easy-ltsp/easy-ltsp.conf %else sed -i 's|lts_conf=.*|lts_conf=/var/lib/tftpboot/i386/lts.conf|g' %buildroot%{_sysconfdir}/easy-ltsp/easy-ltsp.conf %endif sed -i 's|xml_conf=.*|xml_conf=%{_sysconfdir}/easy-ltsp/easy-ltsp.xml|g' %buildroot%{_sysconfdir}/easy-ltsp/easy-ltsp.conf # install desktop files %if 0%{?suse_version} %suse_update_desktop_file -n -i %{name} System SystemSetup %post /usr/sbin/kiwi-ltsp-setup &>/dev/null || true %endif %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %_bindir/* %dir /etc/easy-ltsp %dir %{_prefix}/lib/%name %dir %{_prefix}/share/doc/packages/%{name} # /FIXME %{_prefix}/lib/%name/* %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %config(noreplace) %{_sysconfdir}/easy-ltsp/easy-ltsp.conf %ghost %config(noreplace) %{_sysconfdir}/easy-ltsp/easy-ltsp.xml %ghost %config(noreplace) %{_sysconfdir}/easy-ltsp/aoeimagemap.xml %{_prefix}/share/doc/packages/%{name}/addnewclients.txt %{_prefix}/share/doc/packages/%{name}/configure_kiwi_ltsp.txt %{_prefix}/share/doc/packages/%{name}/fatclient.txt %{_prefix}/share/doc/packages/%{name}/kiwi_ltsp_basics.txt %{_prefix}/share/doc/packages/%{name}/mapmultipleimages.txt %{_prefix}/share/doc/packages/%{name}/modifyclientbehavior.txt %{_prefix}/share/doc/packages/%{name}/networkconfig.txt %{_prefix}/share/doc/packages/%{name}/pxeboot.txt %{_prefix}/share/doc/packages/%{name}/quickstart.txt %files devel %defattr(-,root,root) /usr/lib/pkgconfig/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor