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

Revision 8537, 3.1 KB checked in by Takemikaduchi, 10 years ago (diff)

fix ja.po

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