libgraphite2/libgraphite2.spec

105 lines
3.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgraphite2
Version: 1.2.4
Release: 1mamba
Summary: A cross-platform rendering library for complex writing systems
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://silgraphite.sourceforge.net/
Source: http://sourceforge.net/projects/silgraphite/files/graphite2/graphite2-%{version}.tgz
License: LGPL,Common Public Attribution License 1.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsilgraphite-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Graphite is a project within SIL's scripts and software dev groups to provide cross-platform rendering for complex writing systems.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Graphite is a project within SIL's scripts and software dev groups to provide cross-platform rendering for complex writing systems.
This package contains static libraries and header files need for development.
%package tools
Group: Applications/Publishing
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
The %{name}-tools package contains utility applications for %{name}.
%prep
%setup -q -n graphite2-%{version}
%build
#-- checking for module 'harfbuzz'
#-- package 'harfbuzz' not found
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgraphite2.so.*
%doc COPYING LICENSE
%files devel
%defattr(-,root,root)
%{_libdir}/libgraphite2.la
%{_libdir}/libgraphite2.so
%dir %{_includedir}/graphite2
%{_includedir}/graphite2/*.h
%dir %{_datadir}/graphite2
%{_datadir}/graphite2/graphite2*.cmake
%{_libdir}/pkgconfig/graphite2.pc
%doc ChangeLog
%files tools
%defattr(-,root,root)
#%{_bindir}/comparerenderer
%{_bindir}/gr2fonttest
%changelog
* Fri Nov 29 2013 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic update by autodist
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Fri May 31 2013 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Wed Oct 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- package created by autospec