1 | %global _missing_doc_files_terminate_build 0 |
---|
2 | |
---|
3 | Summary: Data Type Library |
---|
4 | Name: libeina |
---|
5 | Version: 1.0.0 |
---|
6 | Release: 3%{?_dist_release} |
---|
7 | |
---|
8 | License: LGPLv2+ |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://www.enlightenment.org/ |
---|
11 | |
---|
12 | Source: http://download.enlightenment.org/releases/eina-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
15 | BuildRequires: chrpath |
---|
16 | BuildRequires: pkgconfig |
---|
17 | BuildRequires: doxygen |
---|
18 | BuildRequires: check-devel |
---|
19 | |
---|
20 | %description |
---|
21 | Eina is a multi-platform library that provides optimized data types |
---|
22 | and useful tools for projects. |
---|
23 | |
---|
24 | %package devel |
---|
25 | Summary: Eina headers, documentation and test programs |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name} = %{version}-%{release} |
---|
28 | Requires: pkgconfig |
---|
29 | |
---|
30 | %description devel |
---|
31 | Headers, test programs and documentation for %{name}. |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q -n eina-%{version} |
---|
35 | # Avoid lib64 rpaths |
---|
36 | %if "%{_libdir}" != "/usr/lib" |
---|
37 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
38 | %endif |
---|
39 | |
---|
40 | %build |
---|
41 | %configure --disable-static |
---|
42 | ## Tested export for tests |
---|
43 | ## export LD_LIBRARY_PATH=$( pwd )/src/lib/.libs/libeina.so |
---|
44 | |
---|
45 | make %{?_smp_mflags} |
---|
46 | make doc %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | rm -rf %{buildroot} |
---|
50 | make install DESTDIR=%{buildroot} |
---|
51 | |
---|
52 | # remove unfinished manpages |
---|
53 | find doc/man/man3 -size -100c -delete |
---|
54 | |
---|
55 | for l in todo %{name}.dox |
---|
56 | do |
---|
57 | rm -f doc/man/man3/$l.3 |
---|
58 | done |
---|
59 | |
---|
60 | mkdir -p %{buildroot}%{_mandir}/man3 |
---|
61 | install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3 |
---|
62 | # remove libtool archive along with stripping |
---|
63 | find %{buildroot}/ -type f -iname '*.la' -exec rm {} \; |
---|
64 | find %{buildroot}/ -type f -iname '*.a' -exec rm {} \; |
---|
65 | |
---|
66 | ## Can be enabled when upstream fixed the tests |
---|
67 | ## needs --enable-tests with %%configure |
---|
68 | ## %check |
---|
69 | ## make check |
---|
70 | |
---|
71 | %clean |
---|
72 | rm -rf %{buildroot} |
---|
73 | |
---|
74 | %post -p /sbin/ldconfig |
---|
75 | |
---|
76 | %postun -p /sbin/ldconfig |
---|
77 | |
---|
78 | %files |
---|
79 | %defattr(-,root,root,-) |
---|
80 | # No ChangeLog included. Zero byte. |
---|
81 | %doc AUTHORS COPYING |
---|
82 | %{_libdir}/*.so.* |
---|
83 | #%{_libdir}/eina |
---|
84 | |
---|
85 | %files devel |
---|
86 | %defattr(-,root,root,-) |
---|
87 | %{_includedir}/* |
---|
88 | %{_mandir}/man3/* |
---|
89 | %{_libdir}/*.so |
---|
90 | %{_libdir}/pkgconfig/* |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3 |
---|
94 | - Initial build for Vine Linux |
---|
95 | |
---|
96 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 |
---|
97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
98 | |
---|
99 | * Mon Jan 31 2011 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-1 |
---|
100 | - final 1.0.0 release |
---|
101 | |
---|
102 | * Wed Dec 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta3 |
---|
103 | - beta 3 release |
---|
104 | |
---|
105 | * Tue Nov 16 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta2 |
---|
106 | - beta 2 release |
---|
107 | |
---|
108 | * Fri Nov 05 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta1 |
---|
109 | - beta 1 release |
---|
110 | |
---|
111 | * Fri Jul 02 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49898-1 |
---|
112 | - libeina 0.9.9.49898 snapshot release |
---|
113 | |
---|
114 | * Fri Jun 11 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49539-1 |
---|
115 | - libeina 0.9.9.49539 snapshot release |
---|
116 | |
---|
117 | * Tue Feb 23 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-6 |
---|
118 | - Disabled tests again until they are fixed |
---|
119 | |
---|
120 | * Mon Feb 22 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-5 |
---|
121 | - Added missing BR doxygen check |
---|
122 | |
---|
123 | * Sun Feb 21 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-4 |
---|
124 | - added Requires for -devel |
---|
125 | - corrected license |
---|
126 | - enabled tests |
---|
127 | |
---|
128 | * Fri Feb 19 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-3 |
---|
129 | - name changed from eina-0 to libeina |
---|
130 | - spec fixes |
---|
131 | |
---|
132 | * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-2 |
---|
133 | - added missing man pages |
---|
134 | |
---|
135 | * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-1 |
---|
136 | - Initial Fedora release |
---|
137 | |
---|