source: projects/specs/trunk/d/drwright/drwright-vl.spec @ 5335

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

new upstream release

Line 
1Summary:        Typing monitor to force typing breaks
2Name:           drwright
3Version:        3.2.3
4Release:        1%{?_dist_release}
5
6Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz
7
8License:        GPLv2
9Group:          User Interface/Desktops
10URL:            https://live.gnome.org/ThreePointOne/Features/FilePreviewing
11
12BuildRequires:  gtk3-devel >= 3.2.0
13BuildRequires:  gnome-settings-daemon-devel
14BuildRequires:  libcanberra-gtk3-devel
15BuildRequires:  libnotify-devel
16BuildRequires:  libXScrnSaver-devel
17BuildRequires:  libSM-devel
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: Takemikaduchi
24
25
26%description
27DrWright monitors your typing and forces you to periodically take
28typing breaks.
29
30
31%prep
32%setup -q
33
34%build
35%configure --disable-static
36%{__make} %{?_smp_mflags}
37
38%install
39%{__rm} -rf $RPM_BUILD_ROOT
40%{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
43
44%find_lang %{name}
45
46%clean
47%{__rm} -rf $RPM_BUILD_ROOT
48
49%post
50touch %{_datadir}/icons/hicolor
51if [ -x /usr/bin/gtk-update-icon-cache ]; then
52        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
53fi
54
55%postun
56touch %{_datadir}/icons/hicolor
57if [ -x /usr/bin/gtk-update-icon-cache ]; then
58        /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
59fi
60glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
61
62%posttrans
63glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
64
65
66%files -f %{name}.lang
67%defattr(-,root,root,-)
68%doc AUTHORS ChangeLog COPYING NEWS
69%{_libdir}/control-center-1/panels/libdrwrightccp.so
70%{_libdir}/%{name}/gnome-typing-monitor
71%{_libdir}/gnome-settings-daemon-3.0/libtyping-break.so
72%{_libdir}/gnome-settings-daemon-3.0/typing-break.gnome-settings-plugin
73%{_datadir}/%{name}
74%{_datadir}/applications/gnome-typing-break-panel.desktop
75%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.typing-break.gschema.xml
76%{_datadir}/icons/hicolor/*/*/*
77
78
79%changelog
80* Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
81- new upstream release
82
83* Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
84- new upstream release
85- remove Patch0
86
87* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
88- initial build for Vine Linux
89
Note: See TracBrowser for help on using the repository browser.