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

Revision 5038, 2.1 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME-3.2.1

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