-
Notifications
You must be signed in to change notification settings - Fork 0
/
awf.spec.in
47 lines (37 loc) · 899 Bytes
/
awf.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Summary: %{name} : A tool for previewing GTK2/GTK3 widgets
Group: Development/Tools
License: GPLv3+
URL: http://github.com/valr/awf
Source: https://github.com/valr/awf/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gtk2-devel gtk3-devel
Requires: gtk2 gtk3
%description
A Widget Factory is a program designed to show a wide range of widgets
on a single window.
%prep
%setup
%build
%configure $args
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
%clean
rm -rf %{buildroot}
%post
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
%changelog
* Wed Jan 09 2013 Dwight Engen <[email protected]> - Version 1.2.1
- Initial RPM release.
# Local variables:
# mode: shell-script
# sh-shell: rpm
# end: