Index: Mageia/pcb-rnd.spec =================================================================== --- Mageia/pcb-rnd.spec (revision 15241) +++ Mageia/pcb-rnd.spec (revision 15242) @@ -2,7 +2,7 @@ %define debug 0 %define plugindir %{_usr}/lib/%{name}/plugins # Replace svn commit revision in next line with 0 for full releases -%define svn 15221 +%define svn 15222 %define rel 1 Name: pcb-rnd Version: 1.2.8 @@ -12,7 +12,7 @@ Release: %mkrel -c %{svn} %{rel} %endif Summary: Standard installation -License: GPLv2 +License: GPLv2+ and LGPLv2+ and BSD Group: Sciences/Other URL: http://repo.hu/projects/pcb-rnd # http://repo.hu/projects/pcb-rnd/developer/packaging/packages.html @@ -24,6 +24,8 @@ # Run mk-tar script in SOURCES/ to generate a snapshot tarball from svn trunk. # Use the svn revision # (in tarball name) in line #4 above. Source1: mk-tar +Source2: pcb-rnd.desktop +Source3: logo48.png BuildRequires: lesstif-devel BuildRequires: pkgconfig(gdk-pixbuf-2.0) @@ -253,6 +255,16 @@ %install %make_install +# Install icon +cp %{SOURCE3} . + +mkdir -p %{buildroot}%{_iconsdir}/hicolor/48x48/apps +cp logo48.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png + +# Install Desktop file +mkdir -p %{buildroot}%{_datadir}/applications +cp %{SOURCE2} %{buildroot}%{_datadir}/applications/ + %files # Empty (Meta-Package) @@ -270,6 +282,8 @@ %{_mandir}/man1/* %exclude %{_usr}/lib/debug/* %{_usr}/lib/%{name}/*.scm +%{_iconsdir}/hicolor/* +%{_datadir}/applications/%{name}.desktop %files auto %{plugindir}/autoplace.pup