nitrogen 1.6.1-1 (znver1;x86_64;aarch64) 2023-17210
9999
| Status | published | ||||||||||||
| Submitter | mandian [@T] tutanota.com | ||||||||||||
| Platform | rolling | ||||||||||||
| Repository | unsupported | ||||||||||||
| URL | https://abf.openmandriva.org/build_lists/287377 | ||||||||||||
| Packages |
|
||||||||||||
| Build Date | 2023-01-21 18:39:30 +0000 UTC | ||||||||||||
| Last Updated | 2023-01-25 19:10:04.067592716 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 2356443c1fa9e178a646410346afaf829a707d65
commit 2356443c1fa9e178a646410346afaf829a707d65
Author: mandian <mandian@users.noreply.github.com>
AuthorDate: Sat Jan 21 18:12:58 2023 +0000
Commit: mandian <mandian@users.noreply.github.com>
CommitDate: Sat Jan 21 18:12:58 2023 +0000
1.6.1
---
.abf.yml | 2 +-
nitrogen-1.6.1-fix_appdata_path.patch | 11 +++++
nitrogen.spec | 79 ++++++++++++-----------------------
3 files changed, 39 insertions(+), 53 deletions(-)
create mode 100644 nitrogen-1.6.1-fix_appdata_path.patch
diff --git a/.abf.yml b/.abf.yml
index 4d66979..a8dd442 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- "nitrogen-1.5.2.tar.gz": 355d7eb1707d8a51dc072174d23a2836276fd4ce
+ nitrogen-1.6.1.tar.gz: cc485fc2865939a9664d4901adbd9c1f6729dd17
diff --git a/nitrogen-1.6.1-fix_appdata_path.patch b/nitrogen-1.6.1-fix_appdata_path.patch
new file mode 100644
index 0000000..2ea8680
--- /dev/null
+++ b/nitrogen-1.6.1-fix_appdata_path.patch
@@ -0,0 +1,11 @@
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -1,6 +1,6 @@
+ SUBDIRS = icons
+
+-appdatadir = $(datarootdir)/appdata
++appdatadir = $(datarootdir)/metainfo
+ desktopdir = $(datadir)/applications
+ desktop_DATA = nitrogen.desktop
+ appdata_DATA = nitrogen.appdata.xml
+
diff --git a/nitrogen.spec b/nitrogen.spec
index cfe9b49..9e8f02d 100644
--- a/nitrogen.spec
+++ b/nitrogen.spec
@@ -1,31 +1,47 @@
Summary: A wallpaper setter
Name: nitrogen
-Version: 1.5.2
-Release: 3
+Version: 1.6.1
+Release: 1
License: GPLv2
Group: Graphical desktop/Other
-URL: http://projects.l3ib.org/nitrogen/
-Source0: http://projects.l3ib.org/nitrogen/files/%{name}-%{version}.tar.gz
+URL: https://github.com/l3ib/nitrogen
+Source0: https://github.com/l3ib/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
+Patch0: nitrogen-1.6.1-fix_appdata_path.patch
BuildRequires: gettext-devel
+BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtkmm-2.4)
+BuildRequires: pkgconfig(libpng)
%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.
+%files -f %{name}.lang
+%license COPYING
+%doc NEWS README AUTHORS ChangeLog
+%{_bindir}/%{name}
+%{_metainfodir}/%{name}.appdata.xml
+%{_datadir}/icons/hicolor/*
+%{_datadir}/applications/%{name}.desktop
+%{_mandir}/man1/%{name}.1*
+
+#----------------------------------------------------------------------------
+
%prep
-%setup -q
+%autosetup -p1
%build
-export CXXFLAGS="%{optflags} -lX11 -ldl -lXext"
-%configure2_5x
-%make
+#export CFLAGS="%{optflags}"
+export LDFLAGS="%{ldflags} -lX11"
+#export CXXFLAGS="%{optflags} -lX11 -ldl -lXext"
+%configure
+%make_build
%install
-%makeinstall_std
+%make_install
mkdir -p %{buildroot}%{_datadir}/applications/
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
@@ -41,47 +57,6 @@ StartupNotify=true
Categories=Settings;DesktopSettings;X-MandrivaLinux-System-Configuration;
EOF
-%files
-%{_bindir}/%{name}
-%{_datadir}/icons/hicolor/*
-%{_datadir}/applications/%{name}.desktop
-%{_mandir}/man1/%{name}.1*
-
-
-
-%changelog
-* 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
+# locales
+%find_lang %{name}
-* Tue Oct 2 2007 KDulcimer <kdulcimer@gmail.com> 1.0-1pclos_tinyme2007
-- Build for TinyMe/PCLinuxOS 2007
Not Available
| benbullard79 [@T] cox.net | No Comment. | 1007d 17hrs |
| benbullard79 [@T] cox.net | No Comment. | 1004d 17hrs |
| benbullard79 [@T] cox.net | No Comment. | 1004d 17hrs |