Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 17e7bf9268bca70b61000c4dce85684e > files > 2

nitrogen-1.5.2-4.mga5.src.rpm

Summary:	A wallpaper setter
Name:		nitrogen
Version:	1.5.2
Release:	%mkrel 4
License:	GPLv2
Group:		Graphical desktop/Other
URL:		http://projects.l3ib.org/nitrogen/
Source0:	http://projects.l3ib.org/nitrogen/files/%{name}-%{version}.tar.gz

BuildRequires:	gettext-devel
BuildRequires:	pkgconfig(gtk+-2.0)
BuildRequires:	pkgconfig(gtkmm-2.4)

%description
Nitrogen is a background browser and setter for X. It is written in C++
using the gtkmm toolkit. It can be used in two modes: browser and recall.
It is multi-head friendly and can even work in GNOME.

%prep
%setup -q

%build
export CXXFLAGS="%{optflags} -lX11 -ldl -lXext"
%configure2_5x
%make

%install
%makeinstall_std

ln -sf %{_iconsdir}/graphics_section.png %{buildroot}%{_iconsdir}/%{name}.png

mkdir -p %{buildroot}%{_datadir}/applications/
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=%{name}
Comment=Change wallpapers
Exec=%{name}
Icon=%{name}
Terminal=false
Type=Application
StartupNotify=true
Categories=Settings;DesktopSettings;
EOF

desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop

%files
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.1*
%{_iconsdir}/hicolor/*
%{_iconsdir}/%{name}.png


%changelog
* Thu Feb 12 2015 barjac <barjac> 1.5.2-4.mga5
+ Revision: 814743
- fix X-Mandriva... in desktop
- fix icon name typo

* Wed Oct 15 2014 umeabot <umeabot> 1.5.2-3.mga5
+ Revision: 743166
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.5.2-2.mga5
+ Revision: 682893
- Mageia 5 Mass Rebuild

* Mon Jun 30 2014 barjac <barjac> 1.5.2-1.mga5
+ Revision: 641531
- fix desktop file
- use mkrel
- import nitrogen


* Tue May 29 2012 Matthew Dawkins <mattydaw@mandriva.org> 1.5.2-2
+ Revision: 801182
- imported package nitrogen


* Wed Jan 25 2012 KDulcimer <kdulcimer@unity-linux.org> 1.5.2-2
- Rebuild
- Bring spec up to spec

* Sat Sep 17 2011 KDulcimer <kdulcimer@unity-linux.org> 1.5.2-1
- 1.5.2

* Mon May 31 2010 KDulcimer <kdulcimer@unity-linux.org> 1.5.1-2
- fix desktop file

* Tue Feb 09 2010 KDulcimer <kdulcimer@unity-linux.org> 1.5.1-1
- 1.5.1

* Sat Jan 23 2010 KDulcimer <kdulcimer@unity-linux.org> 1.5-1
- 1.5

* Mon May 18 2009 Gianvacca <gianvacca@unity-linux.org> 1.4-1unity2009
- New version for Unity

* Thu Jan 10 2008 KDulcimer <kdulcimer@gmail.com> 1.2-1tinyme2008
- 1.2

* Tue Nov 27 2007 KDulcimer <kdulcimer@gmail.com> 1.0-3pclos_tinyme2007
- Adjusted Build and BuildRequires

* Thu Nov 15 2007 KDulcimer <kdulcimer@gmail.com> 1.0-2pclos_tinyme2007
- Added menu entry

* Tue Oct 2 2007 KDulcimer <kdulcimer@gmail.com> 1.0-1pclos_tinyme2007
- Build for TinyMe/PCLinuxOS 2007