Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Update
libicns
libicns.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libicns.spec of Package libicns
# # spec file for package libicns # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Malcolm J Lewis <malcolmlewis@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname %{name}1 Name: libicns Summary: Application for manipulation of the Mac OS icns License: LGPL-2.1+ Group: Productivity/Graphics/Convertors Version: 0.8.1 Release: 0 Source0: http://download.sourceforge.net/icns/%{name}-%{version}.tar.gz Url: http://icns.sourceforge.net/ BuildRequires: libjasper-devel BuildRequires: libpng12-compat-devel Requires: %{soname} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description It can read and write files from the Mac OS X icns format, as well as read from Mac OS resource files and macbinary encoded Mac OS resource forks. As of release 0.5.9, it can fully read and write any 128x128 and all smaller 32-bit icons, and read support for 8-bit, 4-bit, and 1-bit icons. If linked against Jasper, it also has full support for 256x256 and 512x512 32-bit icons with masks as alpha channels. The package contains icns2png, png2icns and icontainer2icns. %package -n icns-utils Summary: Application for manipulation of the Mac OS icns License: GPL-2.0 Group: Productivity/Graphics/Convertors Requires: %{soname} = %{version} %description -n icns-utils Utilities to convert to and from icns files using %{name}: 1. png2icns: Tool to convert png icons to icns icons, 2. icns2png: Tool to convert icns icons to png, and 3. icontainer2icns: Tool for extracting icns files from icontainers. %package -n %{soname} Summary: System libraries for %{name} License: LGPL-2.1 Group: System/Libraries %description -n %{soname} System libraries file for %{name}. %package -n %{soname}-devel Summary: Development files for %{name} License: LGPL-2.1 Group: Development/Libraries/Other Requires: %{soname} = %{version} %description -n %{soname}-devel Libraries and header files for developing applications that use libicns. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install find %{buildroot} -name '*.la' -exec rm {} \; %post -n %{soname} /sbin/ldconfig %postun -n %{soname} /sbin/ldconfig %post -n %{soname}-devel /sbin/ldconfig %postun -n %{soname}-devel /sbin/ldconfig %clean rm -rf '%{buildroot}' %files -n icns-utils %defattr(-,root,root) %doc README COPYING* ChangeLog NEWS TODO %{_bindir}/png2icns %{_bindir}/icns2png %{_bindir}/icontainer2icns %{_mandir}/man1/*.gz %files -n %{soname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n %{soname}-devel %defattr(-,root,root) %doc src/apidocs.* DEVNOTES %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor