-
Notifications
You must be signed in to change notification settings - Fork 4
/
smugbatch.spec
54 lines (43 loc) · 1.18 KB
/
smugbatch.spec
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
48
49
50
51
52
53
# norootforbuild
Name: smugbatch
Group: Productivity/Graphics/Other
%if 0%{?suse_version} > 1020
BuildRequires: libcurl-devel
%else
BuildRequires: curl-devel
%endif
License: GPL v2 only
Version: 004
Release: 1
AutoReqProv: on
Summary: Tools for smugmug.com
Source: smugbatch-%{version}.tar.bz2
Url: http://www.kernel.org/pub/linux/kernel/people/gregkh/smugbatch/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Command line tools to access smugmug.com.
Authors:
--------
Greg Kroah-Hartman <greg@kroah.org>
%prep
%setup -q
%build
make V=1 CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install smugdown smugup smugls $RPM_BUILD_ROOT/usr/bin
install smugls.1 smugup.1 $RPM_BUILD_ROOT%{_mandir}/man1
%files
%defattr(-,root,root)
%doc RELEASE-NOTES COPYING ChangeLog
%doc %{_mandir}/man1/*.gz
/usr/bin/smug*
%changelog
* Sun May 18 2008 aj@suse.de
- Update to version 003:
added ability to have a config file for password and user id
added smugdown, seems to work for public albums, not for private yet
--quiet option to all apps.
smugls actually works properly now.
* Thu May 01 2008 aj@suse.de
- Initial build version.