auto-import libmatchbox-1.7-2 on branch devel from
libmatchbox-1.7-2.src.rpm
This commit is contained in:
parent
e90ad4f5e2
commit
3a91a70c7c
@ -0,0 +1 @@
|
||||
libmatchbox-1.7.tar.gz
|
78
libmatchbox.spec
Normal file
78
libmatchbox.spec
Normal file
@ -0,0 +1,78 @@
|
||||
Summary: Matchbox library
|
||||
Name: libmatchbox
|
||||
Version: 1.7
|
||||
Release: 2
|
||||
License: LGPL
|
||||
Group: System Environment/Libraries
|
||||
URL: http://projects.o-hand.com/matchbox/
|
||||
Source0: http://projects.o-hand.com/matchbox/sources/libmatchbox/1.7/libmatchbox-1.7.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
All font and image operations are provided to other Matchbox packages via libmatchbox.
|
||||
|
||||
%package devel
|
||||
Summary: Headers and shared libraries for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: libmatchbox = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: xorg-x11-devel
|
||||
Requires: pango-devel
|
||||
Requires: freetype-devel
|
||||
Requires: glib2-devel
|
||||
Requires: libpng-devel
|
||||
Requires: libjpeg-devel
|
||||
|
||||
%description devel
|
||||
Libraries and headers for libmatchbox. Required for building other Matchbox packages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-pango --enable-jpeg
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%makeinstall
|
||||
# the .la file is not needed
|
||||
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
# runtime
|
||||
%files
|
||||
%defattr(0755, root, root, 0755)
|
||||
%{_libdir}/libmb.so.*
|
||||
|
||||
# development files
|
||||
%files devel
|
||||
%defattr(0655, root, root, 0755)
|
||||
%{_libdir}/libmb.so
|
||||
%{_libdir}/libmb.a
|
||||
|
||||
|
||||
%{_libdir}/pkgconfig/libmb.pc
|
||||
%{_includedir}/libmb/
|
||||
|
||||
%changelog
|
||||
* Mon Jun 13 2005 Toni Willberg <toniw@iki.fi> 1.7-2
|
||||
- changed as suggested by Ignacio Vazquez-Abrams <ivazquez@ivazquez.net>:
|
||||
- Drop 0 Epoch
|
||||
- Source0 should have full URL
|
||||
- Drop .la file from -devel
|
||||
- Use %{_includedir}/libmb instead of doing dir and headers separately
|
||||
|
||||
* Sun May 22 2005 Toni Willberg <toniw@iki.fi> 1.7-1
|
||||
- Initial build. Thanks to Rudolf Kastl <che666@gmail.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user