diff --git a/README.md b/README.md index 5ae360e..64ad1b1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # crystalcursors +Some cursors themes inspired from crystal icons from Mart. + diff --git a/crystalcursors.spec b/crystalcursors.spec new file mode 100644 index 0000000..315fc98 --- /dev/null +++ b/crystalcursors.spec @@ -0,0 +1,127 @@ +Name: crystalcursors +Version: 1.0 +Release: 5mamba +Summary: Crystal mouse icons themes for X11 +Group: Graphical Desktop/Look 'n' feel/Themes +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://digilander.libero.it/m4rt/html/crystalcursors.html +Source0: http://digilander.libero.it/m4rt/files/crystalblue.tar.gz +Source1: http://digilander.libero.it/m4rt/files/crystalgray.tar.gz +Source2: http://digilander.libero.it/m4rt/files/crystalgreen.tar.gz +Source3: http://digilander.libero.it/m4rt/files/crystalwhite.tar.gz +License: LGPL +Provides: xorgcursor +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Some cursors themes inspired from crystal icons from Mart. + +%package blue +Group: Graphical Desktop/Look 'n' feel/Themes +Summary: Crystal mouse icons theme for X11 (blue version) + +%description blue +A cursor theme inspired from crystal icons from Mart. +This is the blue version. + +%package gray +Group: Graphical Desktop/Look 'n' feel/Themes +Summary: Crystal mouse icons theme for X11 (gray version) + +%description gray +A cursor theme inspired from crystal icons from Mart. +This is the gray version. + +%package green +Group: Graphical Desktop/Look 'n' feel/Themes +Summary: Crystal mouse icons theme for X11 (green version) + +%description green +A cursor theme inspired from crystal icons from Mart. +This is the green version. + +%package white +Group: Graphical Desktop/Look 'n' feel/Themes +Summary: Crystal mouse icons theme for X11 (white version) + +%description white +A cursor theme inspired from crystal icons from Mart. +This is the white version. + +%prep +%setup -q -c %{name}-%{version} -n %{name}-%{version} -a1 -a2 -a3 + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -d %{buildroot}%{_datadir}/icons + +for d in crystalblue crystalgray crystalgreen crystalwhite; do + cp -R --no-dereference $d %{buildroot}%{_datadir}/icons +done + +## set crystalwhite as the default icon theme for Xorg +#install -d %{buildroot}%{_datadir}/icons/default +#cat > %{buildroot}%{_datadir}/icons/default/index.theme <<_EOF +#[Icon Theme] +#Inherits=crystalwhite +#_EOF + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files blue +%defattr(-,root,root) +%dir %{_datadir}/icons/crystalblue +%{_datadir}/icons/crystalblue/* + +%files gray +%defattr(-,root,root) +%dir %{_datadir}/icons/crystalgray +%{_datadir}/icons/crystalgray/* + +%files green +%defattr(-,root,root) +%dir %{_datadir}/icons/crystalgreen +%{_datadir}/icons/crystalgreen/* + +%files white +%defattr(-,root,root) +%dir %{_datadir}/icons/crystalwhite +%{_datadir}/icons/crystalwhite/* +#%attr(0644,root,root,) %config(noreplace) %{_datadir}/icons/default/index.theme + +%changelog +* Mon Aug 19 2013 Automatic Build System 1.0-5mamba +- automatic rebuild by autodist + +* Mon Jul 07 2008 Silvan Calarco 1.0-4mamba +- specfile updated + +* Fri Mar 09 2007 Silvan Calarco 1.0-3qilnx +- remove requirement for Xorg + +* Thu Feb 02 2006 Davide Madrisan 1.0-2qilnx +- package arch set to noarch + +* Wed Feb 01 2006 Davide Madrisan 1.0-1qilnx +- added crystalblue crystalgray crystalgreen mouse icons +- do not write files in the /etc/skel folder, use the system folder instead + +* Mon Oct 10 2005 Davide Madrisan 0.4-4qilnx +- fixed permissions of index.theme + +* Thu May 06 2004 Davide Madrisan 0.4-3qilnx +- skel/.icons/default directory removed because it hurt the KDE 3.2.x + mouse cursors manager + +* Sat Mar 06 2004 Davide Madrisan 0.4-2qilnx +- fix: preserve symbolic links + +* Thu Mar 04 2004 Davide Madrisan 0.4-1qilnx +- first build