]> git.pld-linux.org Git - packages/libexif-gtk.git/blob - libexif-gtk.spec
- fixed -devel R, release 2
[packages/libexif-gtk.git] / libexif-gtk.spec
1 Summary:        GTK-widgets for libexif
2 Summary(pl):    Widgety GTK do libexif
3 Name:           libexif-gtk
4 Version:        0.3.2
5 Release:        2
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/libexif/%{name}-%{version}.tar.bz2
9 URL:            http://libexif.sourceforge.net/
10 BuildRequires:  gtk+2-devel
11 BuildRequires:  libexif-devel >= 0.5.4
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/X11R6
15
16 %description
17 Library of GTK-widgets for libexif.
18
19 %description -l pl
20 Biblioteka widgetów GTK do libexif.
21
22 %package devel
23 Summary:        Header files for libexif-gtk
24 Summary(pl):    Pliki nag³ówkowe do libexif-gtk
25 Group:          X11/Development/Libraries
26 Requires:       %{name} = %{version}
27 Requires:       gtk+2-devel
28 Requires:       libexif-devel >= 0.5.4
29
30 %description devel
31 Header files for libexif-gtk.
32
33 %description devel -l pl
34 Pliki nag³ówkowe do libexif-gtk.
35
36 %package static
37 Summary:        Static libexif-gtk library
38 Summary(pl):    Statyczna biblioteka libexif-gtk
39 Group:          X11/Development/Libraries
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 Static version of libexif-gtk library.
44
45 %description static -l pl
46 Statyczna wersja biblioteki libexif-gtk.
47
48 %prep
49 %setup -q
50
51 %build
52 %configure
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         pkgconfigdir=%{_pkgconfigdir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc ChangeLog
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/lib*.la
77 %attr(755,root,root) %{_libdir}/lib*.so
78 %{_includedir}/libexif-gtk
79 %{_pkgconfigdir}/*.pc
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.a
This page took 0.108909 seconds and 3 git commands to generate.