summaryrefslogtreecommitdiffstats
path: root/cygwin-pixman.spec
blob: a238ae28a97f9c95d06cf756c582b764775a7e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%global __strip %{_cygwin_strip}
%global __objdump %{_cygwin_objdump}
%global _use_internal_dependency_generator 0
%global __find_requires %{_cygwin_findrequires}
%global __find_provides %{_cygwin_findprovides}

Name:           cygwin-pixman
Version:        0.20.2
Release:        1
Summary:        Cygwin pixel manipulation library

License:        MIT
Group:          Development/Libraries
URL:            http://cgit.freedesktop.org/pixman/
Source0:        http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  automake autoconf libtool pkgconfig
BuildRequires:  cygwin-filesystem
BuildRequires:  cygwin-binutils
BuildRequires:  cygwin-gcc
BuildRequires:  cygwin


%description
Cygwin pixel manipulation library for X and cairo.


%prep
%setup -q -n pixman-%{version}
autoreconf -f -i -v


%build
%{_cygwin_configure} --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_cygwin_libdir}/*.la


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_cygwin_bindir}/cygpixman-1-0.dll
%dir %{_cygwin_includedir}/pixman-1
%{_cygwin_includedir}/pixman-1/pixman.h
%{_cygwin_includedir}/pixman-1/pixman-version.h
%{_cygwin_libdir}/libpixman-1.dll.a
%{_cygwin_libdir}/pkgconfig/pixman-1.pc


%changelog
* Mon Mar 14 2011 Yaakov Selkowitz <cygwin-ports-general@lists.sourceforge.net> - 0.20.2-1
- Initial RPM release.