]> git.pld-linux.org Git - packages/esmart.git/blob - esmart.spec
- updated to 0.9.0.008
[packages/esmart.git] / esmart.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Evas "smart objects"
6 Summary(pl.UTF-8):      "Inteligentne obiekty" Evas
7 Name:           esmart
8 Version:        0.9.0.008
9 Release:        1
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  80d0c7ea0ad7252c36626e5cab59ee9b
14 Patch0:         %{name}-layout_in_libdir.patch
15 URL:            http://enlightenment.org/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 # ecore-evas ecore-x
19 BuildRequires:  ecore-devel >= 0.9.9.038
20 BuildRequires:  edje-devel >= 0.5.0.038
21 BuildRequires:  epsilon-devel >= 0.3.0.008
22 BuildRequires:  evas-devel >= 0.9.9.038
23 BuildRequires:  imlib2-devel >= 1.0.0
24 BuildRequires:  libltdl-devel
25 BuildRequires:  libtool
26 Requires:       %{name}-libs = %{version}-%{release}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %undefine       __cxx
30
31 %description
32 Esmart contains "smart" pre-built evas objects. It currently includes
33 a thumbnail generator and a horizontal/vertical container.
34
35 %description -l pl.UTF-8
36 Esmart zawiera "inteligentne" wstępnie zbudowane obiekty evas.
37 Aktualnie zawiera generator miniaturek i kontener poziomy/pionowy.
38
39 %package libs
40 Summary:        Esmart libraries
41 Summary(pl.UTF-8):      Biblioteka Esmart
42 Group:          X11/Libraries
43
44 %description libs
45 Esmart libraries.
46
47 %description libs -l pl.UTF-8
48 Biblioteka Esmart.
49
50 %package devel
51 Summary:        Evas "smart objects" header files
52 Summary(pl.UTF-8):      Pliki nagłówkowe "inteligentnych obiektów" Evas
53 Group:          Development/Libraries
54 Requires:       %{name}-libs = %{version}-%{release}
55 # ecore-evas ecore-x
56 Requires:       ecore-devel >= 0.9.9.038
57 Requires:       edje-devel >= 0.5.0.038
58 Requires:       epsilon-devel >= 0.3.0.008
59 Requires:       evas-devel >= 0.9.9.038
60 Requires:       imlib2-devel >= 1.0.0
61
62 %description devel
63 Evas "smart objects" development headers.
64
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe "inteligentnych obiektów" Evas.
67
68 %package static
69 Summary:        Static Esmart libraries
70 Summary(pl.UTF-8):      Statyczne biblioteki Esmart
71 Group:          Development/Libraries
72 Requires:       %{name}-devel = %{version}-%{release}
73
74 %description static
75 Static Esmart libraries.
76
77 %description static -l pl.UTF-8
78 Statyczne biblioteki Esmart.
79
80 %prep
81 %setup -q
82 %patch0 -p1
83
84 %build
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         %{!?with_static_libs:--disable-static}
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/layout/*.{la,a}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   libs -p /sbin/ldconfig
106 %postun libs -p /sbin/ldconfig
107
108 %files
109 %defattr(644,root,root,755)
110 %doc AUTHORS COPYING README
111 %attr(755,root,root) %{_bindir}/esmart_file_dialog_test
112 %attr(755,root,root) %{_bindir}/esmart_test
113 %{_datadir}/%{name}
114
115 %files libs
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libesmart_*.so.*.*.*
118 %dir %{_libdir}/%{name}
119 %dir %{_libdir}/%{name}/layout
120 %attr(755,root,root) %{_libdir}/%{name}/layout/*.so
121
122 %files devel
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/esmart-config
125 %attr(755,root,root) %{_libdir}/libesmart_*.so
126 %{_libdir}/libesmart_*.la
127 %dir %{_includedir}/Esmart
128 %{_includedir}/Esmart/Esmart_*
129 %{_pkgconfigdir}/esmart.pc
130
131 %if %{with static_libs}
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libesmart_*.a
135 %endif
This page took 0.084763 seconds and 4 git commands to generate.