111 lines
3.1 KiB
RPMSpec
111 lines
3.1 KiB
RPMSpec
Name: libicns
|
|
Version: 0.8.1
|
|
Release: 1mamba
|
|
Summary: Library for manipulating MacOS X icns files
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://icns.sourceforge.net
|
|
Source: http://downloads.sourceforge.net/project/icns/libicns-%{version}.tar.gz
|
|
Patch0: libicns-0.7.1-png2icns-libpng14.patch
|
|
License: GPL, LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libjasper-devel
|
|
BuildRequires: libpng-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
libicns is a library providing functionality for easily reading and writing MacOS X icns files.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
libicns is a library providing functionality for easily reading and writing MacOS X icns files.
|
|
This package contains libraries and header files need for development.
|
|
|
|
%package static
|
|
Group: Development/Libraries
|
|
Summary: Static libraries for %{name}
|
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description static
|
|
libicns is a library providing functionality for easily reading and writing MacOS X icns files.
|
|
This package contains static libraries need for development.
|
|
|
|
%package utils
|
|
Group: Applications/Graphics
|
|
Summary: Utilities for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description utils
|
|
Software for library for manipulating MacOS X .icns icon format.
|
|
Currently provides support for reading and writing icns files in most sizes.
|
|
|
|
Also provides utilities for manipulating files in the .icns format:
|
|
* icns2png - convert Mac OS icns files to png images
|
|
* png2icns - convert png images to Mac OS icns files
|
|
* icontainer2icns - extract icns files from icontainers
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0
|
|
|
|
%build
|
|
%configure
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libicns.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/icns.h
|
|
%{_libdir}/libicns.so
|
|
%{_libdir}/pkgconfig/libicns.pc
|
|
%doc src/apidocs.*
|
|
%doc ChangeLog README TODO
|
|
|
|
%files static
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libicns.*a
|
|
|
|
%files utils
|
|
%defattr(-,root,root)
|
|
%{_bindir}/icns2png
|
|
%{_bindir}/icontainer2icns
|
|
%{_bindir}/png2icns
|
|
%{_mandir}/man1/icns2png.1*
|
|
%{_mandir}/man1/icontainer2icns.1*
|
|
%{_mandir}/man1/png2icns.1*
|
|
%doc README
|
|
|
|
%changelog
|
|
* Fri Apr 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
|
- update to 0.8.1
|
|
|
|
* Sun Dec 26 2010 gil <puntogil@libero.it> 0.7.1-2mamba
|
|
- rebuilt devel
|
|
|
|
* Tue Sep 21 2010 gil <puntogil@libero.it> 0.7.1-1mamba
|
|
- package created by autospec
|