source: projects/specs/trunk/lib/libg/libgnomecanvasmm/libgnomecanvasmm-vl.spec @ 623

Revision 623, 3.0 KB checked in by Takemikaduchi, 14 years ago (diff)

takemikaduchi fix and add spec file

Line 
1Summary:        A C++ interface for libgnomecanvas
2Name:           libgnomecanvasmm
3Version:        2.26.0
4Release:        1%{?_dist_release}
5License:        LGPL
6Group:          System Environment/Libraries
7Source:         ftp://download.sourceforge.net/gtkmm/%{name}-%{version}.tar.bz2
8URL:            http://gtkmm.sourceforge.net/
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10Requires:       gtkmm2 >= 2.4.0
11Requires:       libgnomecanvas >= 2.6.0
12BuildRequires:  gtkmm2-devel >= 2.4.0
13BuildRequires:  libgnomecanvas-devel >= 2.6.0
14
15%description
16This package provides a C++ interface for GnomeUI.  It is a subpackage
17of the gnomemm project.  The interface provides a convenient interface for C++
18programmers to create Gnome GUIs with GTK+'s flexible object-oriented
19framework.
20
21%package        devel
22Summary:        Headers for developing programs that will use libgnomecanvasmm.
23Group:          Development/Libraries
24Requires:       %{name} = %{version}
25Requires:       gtkmm2-devel >= 2.4.0
26Requires:       libgnomecanvas-devel >= 2.6.0
27
28%description    devel
29This package contains the headers that programmers will need to develop
30applications which will use libgnomecanvasmm, part of gnomemm - the C++
31interface to the GTK+ GUI library.
32
33%prep
34%setup -q
35
36%build
37# ...hope this can be removed soon
38%ifarch alpha
39        ARCH_FLAGS="--host=alpha-linux-gnu"
40%endif
41
42%configure
43
44if [ "$SMP" != "" ]; then
45  make -j$SMP "MAKE=make -j$SMP"
46  make
47else
48  make
49fi
50
51%install
52if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
53%makeinstall
54
55%post -p /sbin/ldconfig
56
57%postun -p /sbin/ldconfig
58
59%clean
60if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
61
62%files
63%defattr(-, root, root)
64%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
65%{_libdir}/*.so.*
66
67%files  devel
68%defattr(-, root, root)
69%{_includedir}/libgnomecanvasmm-2.6
70%exclude %{_libdir}/*.la
71#{prefix}/lib/*.a # uncomment this one for static libs
72%{_libdir}/*.so
73%{_libdir}/libgnomecanvasmm-2.6
74%{_libdir}/pkgconfig/*.pc
75
76%changelog
77* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-1
78- new upstream release
79
80* Sat Oct  4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
81- new upstream release
82
83* Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.16.0-2vl5
84- applied new versioning policy
85- excluded *.la
86
87* Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl3
88- rebuilt with new toolchains
89
90* Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl2
91- rebuilt with new gtkmm, libgnomecanvas
92
93* Fri Nov  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl1
94- initial build for Vine Linux
95
96* Sun Dec 21 2003 Eric Bourque <ericb@computer.org>
97- fixed dependency to gtkmm2 instead of gtkmm
98
99* Thu Sep 25 2003 Eric Bourque <ericb@computer.org>
100- updated for libgnomecanvasmm-2.0
101* Tue Mar 20 2001 Eric Bourque <ericb@computer.org>
102- added gnome--.m4 to files devel section
103
104* Sat Mar 10 2001 Herbert Valerio Riedel <hvr@gnu.org>
105- improved examples.conf
106- fixed example build problems
107
108* Thu May 11 2000 Herbert Valerio Riedel <hvr@gnu.org>
109- removed lib/gtkmm from files section
110- removed empty obsolete tags
111
112* Sun Jan 30 2000 Karl Einar Nelson <kenelson@sourceforge.net>
113- adapted from gtk--.spec
Note: See TracBrowser for help on using the repository browser.