source: projects/specs/trunk/m/mate-calc/mate-calc-vl.spec @ 8068

Revision 8068, 2.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        Calculator for the Mate desktop environment
2Name:           mate-calc
3Version:        1.6.0
4Release:        2%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          Applications/Productivity
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  gtk2-devel
13BuildRequires:  libxml2-devel
14BuildRequires:  bison
15BuildRequires:  flex
16BuildRequires:  gtk-doc
17BuildRequires:  autoconf
18BuildRequires:  automake
19
20Requires(posttrans,postun):     glib2
21Requires(post,postun):  desktop-file-utils
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31This is v5.32.0 of mate-calc, the calculator application that was previously
32in the OpenWindows Deskset of the Solaris 8 operating system.
33Sun Microsystems Inc. have kindly given me permission to release it.
34
35It incorporates a multiple precision arithmetic packages based on the work
36of Professor Richard Brent, who has also kindly given me permission to make
37it available.
38
39There is a single graphics driver for Gtk2 included with this release.
40
41
42%prep
43%setup -q
44
45
46%build
47(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
48%configure \
49        --disable-static
50
51%{__make} %{?_smp_mflags}
52
53
54%install
55%{__rm} -rf ${RPM_BUILD_ROOT}
56
57%{__make} install DESTDIR=${RPM_BUILD_ROOT}
58
59find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
60find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
61
62%find_lang %{name}
63
64
65%clean
66%{__rm} -rf ${RPM_BUILD_ROOT}
67
68%post
69/sbin/ldconfig
70update-desktop-database %{_datadir}/applications >& /dev/null ||:
71
72%postun
73/sbin/ldconfig
74update-desktop-database %{_datadir}/applications >& /dev/null ||:
75if [ $1 -eq 0 ]; then
76  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
77fi
78
79%posttrans
80glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
81
82
83%files -f %{name}.lang
84%defattr(-,root,root,-)
85%doc COPYING ChangeLog NEWS README
86%{_bindir}/mate-calc
87%{_bindir}/mate-calc-cmd
88%{_bindir}/mate-calculator
89%{_datadir}/applications/mate-calc.desktop
90%{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml
91%{_datadir}/%{name}
92%{_mandir}/man1/mate-calc.1.gz
93%{_mandir}/man1/mate-calc-cmd.1.gz
94
95
96%changelog
97* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
98- rebuild with VineSeed environment
99
100* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
101- new upstream release
102- remove BuildRequires: mate-conf-devel
103
104* Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
105- new upstream release
106
107* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
108- new upstream release
109
110* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
111- change category
112
113* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
114- initial build for Vine Linux
115
Note: See TracBrowser for help on using the repository browser.