update to 0.4.0 [release 0.4.0-1mamba;Fri Dec 30 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:32:52 +01:00
parent ead8cee63c
commit 2b274ef7d9

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: nautilus-image-converter
Version: 0.3.0_20130901git
Version: 0.4.0
##0.3.0 0.2.1
Release: 1mamba
Summary: Nautilus extension to mass resize or rotate images.
@ -8,27 +8,17 @@ Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.bitron.ch/software/nautilus-image-converter.php
Source: git://git.gnome.org/nautilus-image-converter.git/master/%{name}-%{version}.tar.bz2
URL: https://www.bitron.ch/software/nautilus-image-converter.php
Source: https://gitlab.gnome.org/coreyberla/nautilus-image-converter.git/%{version}/%{name}-%{version}.tar.bz2
#Source: http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/%{majver}/%{name}-%{version}.tar.bz2
License: GPL
BuildRequires: ImageMagick-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libxml2-devel
BuildRequires: ORBit2-devel
BuildRequires: libnautilus-extension-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: ImageMagick-devel
%description
Nautilus extension to mass resize or rotate images.
@ -39,18 +29,19 @@ ImageResizer
This opens a dialog where you set the desired image size and file name.
A click on "Resize" finally resizes the image(s) using ImageMagick's convert tool.
%debug_package
%prep
%setup -q
%build
./autogen.sh
export NAUTILUS_LIBS=%{_libdir}
%configure
%make
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot}
%meson_install
%find_lang %{name}
@ -59,15 +50,16 @@ export NAUTILUS_LIBS=%{_libdir}
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/nautilus/extensions-?.?/libnautilus-image-converter.la
%attr(755,root,root) %{_libdir}/nautilus/extensions-?.?/libnautilus-image-converter.so
%attr(755,root,root) %{_libdir}/nautilus/extensions-*/libnautilus-image-converter.so
%dir %{_datadir}/nautilus-image-converter
%{_datadir}/nautilus-image-converter/nautilus-image-resize.ui
%{_datadir}/nautilus-image-converter/nautilus-image-rotate.ui
%{_datadir}/nautilus-image-converter/nautilus-image-*.ui
%doc AUTHORS COPYING
#ChangeLog NEWS
%changelog
* Fri Dec 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- update to 0.4.0
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 0.3.0_20130901git-1mamba
- automatic rebuild by autodist