]> git.pld-linux.org Git - packages/easygtk.git/blame - easygtk.spec
- tabs in preamble
[packages/easygtk.git] / easygtk.spec
CommitLineData
654dc484 1Summary: EasyGTK - GTK+ wrapper library
37c4f294 2Summary(pl.UTF-8): EasyGTK - nadzbiór funkcji GTK+
9c0bb8ea 3Name: easygtk
76c2bdc3 4Version: 1.2
d644319c 5Release: 1
44cf05c1 6License: GPL
9c0bb8ea 7Group: Libraries
c482c64b 8Source0: %{name}-%{version}.tar
76c2bdc3 9# Source0-md5: 04bf9844bed30d34c6e6cb6416cadced
a4aafd6b 10Patch0: %{name}-Makefile.patch
9c0bb8ea 11BuildRequires: ImageMagick-devel
12BuildRequires: XFree86-devel
9ac69073 13BuildRequires: giflib-devel
9c0bb8ea 14BuildRequires: glib-devel
9ac69073 15BuildRequires: gtk+-devel
f06226c3
PG
16BuildRequires: imlib-devel
17BuildRequires: libjpeg-devel
9c0bb8ea 18BuildRequires: libtiff-devel
9c0bb8ea 19BuildRequires: zlib-devel
97a2bb94 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9c0bb8ea 21
9c0bb8ea 22%description
be31ed67 23EasyGTK is a wrapper library around GTK+ library to provide a much
44cf05c1 24easier and simplier Application Programming Interface to the
25developer.
be31ed67 26
e3076a42
JR
27%description -l pl.UTF-8
28EasyGTK jest nadzbiorem funkcji GTK+ pozwalającym na szybsze i
29łatwiejsze tworzenie aplikacji używających Graficznego Interfejsu
30Użytkownika.
9c0bb8ea 31
9c0bb8ea 32%prep
33%setup -q -n %{name}
d644319c 34%patch
35
9c0bb8ea 36%build
37./configure
a4aafd6b 38%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
9c0bb8ea 39
d644319c 40# make shared library
5ed9f7da 41%{__make} easygtk.so
d644319c 42
9c0bb8ea 43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
46
a4aafd6b
JB
47install libeasygtk.a $RPM_BUILD_ROOT%{_libdir}
48install easygtk.so $RPM_BUILD_ROOT%{_libdir}/libeasygtk.so.%{version}
9c0bb8ea 49install easygtk.h $RPM_BUILD_ROOT%{_includedir}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
f06226c3
PG
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
d644319c 56
9c0bb8ea 57%files
58%defattr(644,root,root,755)
3fa78cee 59%doc manual.html README example.c testtree.c
d644319c 60%attr(755,root,root) %{_libdir}/libeasygtk.so.%{version}
9ac69073
JB
61%{_libdir}/libeasygtk.a
62%{_includedir}/easygtk.h
This page took 0.114772 seconds and 4 git commands to generate.