source: projects/specs/trunk/lib/libp/libpanelappletmm/libpanelappletmm-vl.spec @ 1901

Revision 1901, 2.2 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild with rpm-4.8.1

Line 
1%define ver 2.6
2
3Summary: A C++ wrapper for gnome-panel
4Summary(ja): gnome-panel の C++ ラッパー
5Name: libpanelappletmm
6Version: 2.26.0
7Release: 2%{?_dist_release}
8License: LGPL
9Group: System Environment/Libraries
10Source: ftp://ftp.gnome.org/pub/GNOME/sources/libpanelappletmm/2.26/%{name}-%{version}.tar.bz2
11
12Buildroot: %{_tmppath}/%{name}-%{version}-root
13
14Requires:       gnome-panel-libs >= 2.14.0
15Requires:       gtkmm2 >= 2.4.0
16Requires:       gconfmm >= 2.6.0
17BuildRequires:  gnome-panel-devel >= 2.14.0
18BuildRequires:  gtkmm2-devel >= 2.4.0
19BuildRequires:  gconfmm-devel >= 2.6.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: Takemikaduchi
24
25%description
26Libpanelappletmm is a C++ wrapper for gnome-panel.
27
28
29%package        devel
30Summary:        Development tools for gnome-panel applications.
31Summary(ja):    gnome-panel アプリケーションの開発用ファイル
32Group:          Development/Libraries
33Requires:       %{name} = %{version}-%{release}
34Requires:       gnome-panel-devel >= 2.14.0
35Requires:       gtkmm2-devel >= 2.4.0
36Requires:       gconfmm-devel >= 2.6.0
37
38
39%description devel
40Header files and libraries for building a extension library for the gnome-panel.
41
42%prep
43%setup -q
44
45%build
46%configure --disable-static
47make %{?_smp_mflags}
48
49%install
50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51
52make install DESTDIR=$RPM_BUILD_ROOT
53
54find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
55find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
56
57# remove demos, examples
58rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo
59rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65%clean
66[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(-, root, root)
70%doc AUTHORS COPYING ChangeLog NEWS README
71%{_libdir}/lib*.so.*
72
73%files  devel
74%defattr(-, root, root)
75%{_includedir}/*
76%{_libdir}/*.so
77%{_libdir}/%{name}-%{ver}/include
78%{_libdir}/%{name}-%{ver}/proc/m4
79%{_libdir}/pkgconfig/*.pc
80
81%changelog
82* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-2
83- rebuild with rpm-4.8.1 for pkg-config file
84
85* Sun Aug 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-1
86- initial build for Vine Linux
87
Note: See TracBrowser for help on using the repository browser.