source: projects/specs/trunk/lib/libf/libfli/libfli-vl.spec @ 9382

Revision 9382, 2.8 KB checked in by inagaki, 9 years ago (diff)

2015-02-25 Ryoichi INAGAKI <ryo1@…>

  • cfitsio, libnova: updated
  • kstars, libfli, libindi, ufraw: rebuilt


Line 
1%define majorver 1
2
3Name: libfli
4Summary: Library for FLI CCD Camera & Filter Wheels
5Version: 1.7
6Release: 10%{?_dist_release}
7
8Group: System Environment/Libraries
9# Code and LICENSE.LIB have different versions of the BSD license
10# https://sourceforge.net/tracker2/?func=detail&aid=2568511&group_id=90275&atid=593019
11License: BSD
12URL: http://indi.sourceforge.net/index.php
13
14Source0: http://downloads.sourceforge.net/indi/%{name}%{majorver}_%{version}.tar.gz
15Patch0: libfli-suffix.patch
16
17Buildroot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: cmake
19
20%description
21Finger Lakes Instrument library is used by applications to control FLI
22line of CCDs and Filter wheels
23
24%package devel
25Summary: Libraries, includes, etc. used to develop an application with %{name}
26Summary(ja): %{name} を用いるアプリケーションの開発に必要なファイル
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31These are the header files needed to develop a %{name} application
32
33%prep
34%setup -q -n %{name}%{majorver}-%{version}
35%patch0 -p1
36
37%build
38mkdir -p %{_target_platform}
39pushd %{_target_platform}
40CFLAGS="${CFLAGS:-%optflags}" \
41CXXFLAGS="${CXXFLAGS:-%optflags}" \
42FFLAGS="${FFLAGS:-%optflags}" \
43%cmake \
44    -DCMAKE_BUILD_TYPE=release \
45    -DDATA_INSTALL_DIR:PATH=%{_datadir} \
46    ..
47popd
48
49make VERBOSE=1 %{?_smp_mflags} -C %{_target_platform}
50
51%install
52rm -fr %{buildroot}
53make install DESTDIR=%{buildroot} -C %{_target_platform}
54
55%clean
56rm -fr %{buildroot}
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62%files
63%defattr(-,root,root,-)
64%doc LICENSE.BSD
65%{_libdir}/*.so.*
66
67%files devel
68%defattr(-,root,root,-)
69%{_includedir}/*
70%{_libdir}/*.so
71
72%changelog
73* Wed Feb 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.7-10
74- rebuilt on current VineSeed
75
76* Mon May 21 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.7-9
77- rebuild with rpm-4.8.1-3
78
79* Sat Sep 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 1.7-8
80- use %%cmake macro
81
82* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.7-7
83- Initial build for Vine Linux
84
85* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-6
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
87
88* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-5
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
90
91* Fri Feb 06 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  1.7-4
92- Adding disttag
93
94* Thu Feb 05 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  1.7-3
95- Description lines wrapped around
96- Consistent macros
97- Redownloaded source from upstream
98
99* Mon Jan 28 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  1.7-2
100- Added patch to use LIB_SUFFIX
101
102* Mon Jan 28 2009 Sergio Pascual <sergiopr at fedoraproject.org> -  1.7-1
103- First specfile version
104
Note: See TracBrowser for help on using the repository browser.