source: projects/specs/trunk/lib/libe/libeina/libeina-vl.spec @ 2784

Revision 2784, 3.5 KB checked in by inagaki, 13 years ago (diff)

upload: avogadro, eet, kdeaccessibility
NEW: libdmtx, libeina

Line 
1%global _missing_doc_files_terminate_build 0
2
3Summary:        Data Type Library
4Name:           libeina
5Version:        1.0.0
6Release:        3%{?_dist_release}
7
8License:        LGPLv2+
9Group:          System Environment/Libraries
10URL:            http://www.enlightenment.org/
11
12Source:         http://download.enlightenment.org/releases/eina-%{version}.tar.gz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15BuildRequires:  chrpath
16BuildRequires:  pkgconfig
17BuildRequires:  doxygen
18BuildRequires:  check-devel
19
20%description
21Eina is a multi-platform library that provides optimized data types
22and useful tools for projects.
23
24%package        devel
25Summary:        Eina headers, documentation and test programs
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28Requires:       pkgconfig
29
30%description    devel
31Headers, test programs and documentation for %{name}.
32
33%prep
34%setup -q -n eina-%{version}
35# Avoid lib64 rpaths
36%if "%{_libdir}" != "/usr/lib"
37sed -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
45make %{?_smp_mflags}
46make doc %{?_smp_mflags}
47
48%install
49rm -rf %{buildroot}
50make install DESTDIR=%{buildroot}
51
52# remove unfinished manpages
53find doc/man/man3 -size -100c -delete
54
55for l in todo %{name}.dox
56do
57 rm -f doc/man/man3/$l.3
58done
59
60mkdir -p %{buildroot}%{_mandir}/man3
61install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
62# remove libtool archive along with stripping
63find %{buildroot}/ -type f  -iname '*.la' -exec rm {} \;
64find %{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
72rm -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
Note: See TracBrowser for help on using the repository browser.